- Joined
- Aug 8, 2010
- Messages
- 1,022
Hi! I just understand what are leaks and how to destroy them, but i am still not sure if i am right, so i wanna ask you the following : if i have variable named tempPoint with variable type : Point and 0 array, if i have
-
Set tempPoint = (Center of SpawnArea <gen>)
-
Unit - Create 1 Zergling for Player 12 (Brown) at (Center of SpawnArea <gen>) facing 90.00 degrees
-
Unit - Create 1 Zergling for Player 12 (Brown) at tempPoint facing 90.00 degrees
-
Level 40
-

Events
-


Player - Player 1 (Red) types a chat message containing -go40 as An exact match
-


Player - Player 2 (Blue) types a chat message containing -go40 as An exact match
-


Player - Player 3 (Teal) types a chat message containing -go40 as An exact match
-
-

Conditions
-

Actions
-


Custom script: call RemoveLocation( udg_tempPoint )
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




Repair Equal to 39
-
-



Then - Actions
-




Set Repair = (Repair + 1)
-




Game - Display to (All players) the text: Current creep level...
-




Unit - Create 1 Red Drake for Player 12 (Brown) at (Center of SpawnArea <gen>) facing 90.00 degrees
-




Trigger - Turn off (This trigger)
-
-



Else - Actions
-




Game - Display to (All players) the text: You are not that level!
-
-
-
-



