Lord Regno
Active Member
- Reaction score
- 19
I just wondering if it's work to have two temp points at the same time then after that remove the temp point to avoid leaks.
Ex.
This is the usually way to do it:
So do the trigger avoid leaks in the first example or do I have to stick to the old way?
Ex.
Trigger:
- Actions
- Set Temp_Point = (Center of Respawn <gen>)
- Unit - Create 1 Titan_unittype[(Player number of Player 12 (Brown))] for Player 12 (Brown) at Temp_Point facing Default building facing degrees
- Unit - Create 1 Combination Shop for Player 12 (Brown) at Temp_Point facing Default building facing degrees
- Custom script: call RemoveLocation (udg_Temp_Point)
This is the usually way to do it:
Trigger:
- Actions
- Set Temp_Point = (Center of Respawn <gen>)
- Unit - Create 1 Titan_unittype[(Player number of Player 12 (Brown))] for Player 12 (Brown) at Temp_Point facing Default building facing degrees
- Custom script: call RemoveLocation (udg_Temp_Point)
- Set Temp_Point = (Center of Respawn <gen>)
- Unit - Create 1 Combination Shop for Player 12 (Brown) at Temp_Point facing Default building facing degrees
- Custom script: call RemoveLocation (udg_Temp_Point)
So do the trigger avoid leaks in the first example or do I have to stick to the old way?