Bladezor
You can change this now in User CP.
- Reaction score
- 0
Can I make this trigger that will train 2 units instead of 1 and it will change owner on both unit?
http://i.imgur.com/i6fMP.png
http://i.imgur.com/i6fMP.png
Just create another unit of that type which its being replaced with.
Make the Owner of the second created unit Player 11 in that newly added function.
Trigger:
- Set TempPoint = (Position of (Trained unit))
- Unit - Create 1 Zergling for Player 11 (Dark Green) at TempPoint facing Default building facing degrees
- call RemoveLocation (udg_TempPoint)
- Set TempPoint = (Center of Region 001 <gen>)
- Unit - Order (Last replaced unit) to Attack-Move to TempPoint
- Unit - Order (Last created unit) to Attack-Move to TempPoint
- call RemoveLocation (udg_TempPoint)
The setting and removing of TempPoint are to avoid memory leaks. You can read more about them here.