adds 2 to UnitID:2547's (index:1648's) player (so it's now 5)

adds 1 to interceptor's (index:1628's) untiID

subtracts 2 from UnitID:2547's (index:1648's) player (so it's now 5)

adds 1 to interceptor's (index:1628's) player

adds 2 to UnitID:2547's (index:1648's) player

subtracts 2 from UnitID:2547's (index:1648's) player

subtracts 1 from CC's addon pointer

Post has been edited 7 time(s), last time on Jul 23 2014, 10:37 pm by jjf28.





Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014. Rs_yes-im4real - Clan Aura - jjf28.net84.net

All Unit Counts Table:48*UnitID + 4*Player + 5776160Completed Unit Counts Table:48*UnitID + 4*Player + 5787104Give simply adds 1 to address given by the player it goes to and subtracts one from the address given by the player it comes fromThe spritePointer+0xA is also set to the player the CC's given to, which sets a sprites owner unless you change the sprite pointer.Now for how the map works... if text isn't colored it's because the effect is negated later or generally unimportant- The "set" trigger moves UnitID:2547 from neutral to p3, which means UnitID:2547 is now in position to add to the interceptor's (index 1628) unitID- The "add to UnitID" triggers increase the interceptor's (index:1628's) unitID, until it reaches 2651 (the position required to edit the command centers addon pointer), the following operation increases the interceptor's (index:1628) unitID by 1���� - Give 2 UnitID:2635 owned by Neutral to Player 1 (subtracts 2 from orderQueueTail,���� - Give 1 UnitID:2547 owned by Player 5 to Player 7 (no subtract,���� - Give 2 UnitID:2635 owned by Player 1 to Neutral (, adds 2 to orderQueueTail)�����- Give 1 UnitID:2547 owned by Player 5 to Player 3 (no subtract, adds 1 to mainOrderTimer)- The "Subtract from Target" decreases the command center's (index:1646) addon pointer until it reaches 5808996 (the start of the death table) the following operation subtracts 1 from the addon pointer (aka where the interceptor is setup to edit using equation 1)���� - Give 1 UnitID:2547 owned by Player 3 to Player 1 (no subtract,���� - Give 2 UnitID:2635 owned by Neutral to Player 1 (no subtract,�����- Give 1 UnitID:2547 owned by Player 3 to Player 5 (no subtract, adds 1 to orderTargetUnitPointer)���� - Give 2 UnitID:2635 owned by Player 1 to Neutral (, adds 2 to orderQueueTail)�����- Give 1 Protoss Carrier owned by Player 5 to Player 7 ((since interceptor is UnitID:2651 and owned by p6 at this point), and adds 1 to CC's addonBuildType)���� - Give 1 Protoss Carrier owned by Player 7 to Player 5 (subtracts 1 from CC's addonBuildType, adds 1 to CC's loadedUnit#4) --����- The "finish" trigger moves UnitID:2547 from p3 to neutral, preventing the crash that tends to result from staying with p3So in summary:- The group of UnitID:2547 and UnitID:2635 increases the interceptor's (index:1628's) unitID to 2651- The interceptor edits the command centers addon pointer with UnitID:2547 and UnitID:2635's to help change its player- Now when the command center is given, the "addon" as it appears in the death table is also given, its spritePointer, unitID and player all being under your direct control