- Joined
- Apr 5, 2013
- Messages
- 154
-
ZombieSpawnsSpawn
-
Events
-
Time - Every (Random real number between 2.00 and 4.00) seconds of game time
-
-
Conditions
-
Actions
-
Unit - Create 1 Zombie for Player 12 (Brown) at (Center of SpawnZombieSpawner[(Random integer number between 1 and AmountOfZombieSpawners)]) facing Default building facing degrees
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Distance between (Position of (Last created unit)) and (Position of PlayerUnit[(Integer A)])) Greater than Distance
-
-
-
-
Then - Actions
-
Unit - Remove (Last created unit) from the game
-
Trigger - Run (This trigger) (ignoring conditions)
-
-
Else - Actions
-
-
-
-
Unit Group - Add (Last created unit) to ALLZombies
-
AI - Ignore (Last created unit)'s guard position
-
Unit - Order (Last created unit) to Attack-Move To (Position of PlayerUnit[(Random integer number between 1 and 4)])
-
-