- Joined
- Jul 8, 2008
- Messages
- 150
The trigger is supposed to create one zeppelin and order it to load all units that were created with it, but it is only loading a single unit...
-
Zeppelins
-
Events
- Time - Every 10.00 seconds of game time
- Conditions
-
Actions
-
For each (Integer A) from 0 to (Random integer number between 1 and 3), do (Actions)
-
Loop - Actions
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
- Set Spawn_Point = (Random point in Spawn_Region[(Random integer number between 1 and 4)])
- Set Enemy_Force = (All enemies of (Owner of (Last created unit)))
- Set Enemy_Point = ((Random player from Enemy_Force) start location)
- Unit - Create 1 Ghost Zeppelin for (Picked player) at Spawn_Point facing (Random angle) degrees
- Set Zeppelin = (Last created unit)
-
For each (Integer B) from 0 to (Random integer number between 2 and 3), do (Actions)
-
Loop - Actions
- Unit - Create 1 Random_Unit[(Random integer number between 8 and 11)] for (Picked player) at Spawn_Point facing (Random angle) degrees
- Unit - Order Zeppelin to Load (Last created unit)
-
Loop - Actions
- Unit - Order Zeppelin to Unload All At Enemy_Point
- Custom script: call RemoveLocation(udg_Spawn_Point)
- Custom script: call DestroyForce(udg_Enemy_Force)
- Custom script: call RemoveLocation(udg_Enemy_Point)
- Custom script: call RemoveRect(udg_Spawn_Region[5])
-
Loop - Actions
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
For each (Integer A) from 0 to (Random integer number between 1 and 3), do (Actions)
-
Events