- Joined
- Dec 11, 2010
- Messages
- 101
Okay, so this trigger that me and a friend from here made works nice and all. What this trigger does is that when ESC is pressed, it creates 10 randomly placed groups of 1 unit except for the area which is specified. My question is, how can I change this to have multiple non-spawn areas?
-
Wave Template Test
-
Events
- Player - Player 1 (Red) skips a cinematic sequence
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Spawn_Integer Less than or equal to 9
-
Then - Actions
- Set Temp_Point = (Random point in Whole Map <gen>)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Dont Spawn Enemies <gen> contains Temp_Point) Equal to True
-
Then - Actions
- Custom script: call RemoveLocation (udg_Temp_Point)
- Trigger - Run (This trigger) (checking conditions)
-
Else - Actions
- Unit - Create 1 Footman for Player 1 (Red) at Temp_Point facing Default building facing degrees
- Set Spawn_Integer = (Spawn_Integer + 1)
- Custom script: call RemoveLocation (udg_Temp_Point)
- Trigger - Run (This trigger) (checking conditions)
-
If - Conditions
-
Else - Actions
- Set Spawn_Integer = 0
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events