- Joined
- Aug 6, 2009
- Messages
- 697
The problem is that the convoy for some reason does not spawn,i can't figure out why,i have tried a lot of things to get this to work correctly but it doesnt anymore.
-
Events
- Time - Reinforcements expires
-
Conditions
- (Viking 1051 <gen> is alive) Equal to True
-
And - All (Conditions) are true
-
Conditions
- Food Less than or equal to 5
-
Conditions
-
Actions
- Set Food = (Food + 1)
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
- Wait 0.03 seconds
- If (RandomUnitSpawn[1] Equal to 1) then do (Unit - Create 1 Celtic Warrior for Player 6 (Orange) at (Random point in OrangeSpawn <gen>) facing Default building facing degrees) else do (Do nothing)
- If (RandomUnitSpawn[1] Equal to 2) then do (Unit - Create 1 Celtic Calvary for Player 6 (Orange) at (Random point in OrangeSpawn <gen>) facing Default building facing degrees) else do (Do nothing)
- If (RandomUnitSpawn[1] Equal to 3) then do (Unit - Create 1 Celtic Spear Thrower for Player 6 (Orange) at (Random point in OrangeSpawn <gen>) facing Default building facing degrees) else do (Do nothing)
- If (RandomUnitSpawn[1] Equal to 5) then do (Unit - Create 1 Maceman for Player 6 (Orange) at (Random point in OrangeSpawn <gen>) facing Default building facing degrees) else do (Do nothing)
- If (RandomUnitSpawn[1] Equal to 4) then do (Unit - Create 1 Celtic Beserker for Player 6 (Orange) at (Random point in OrangeSpawn <gen>) facing Default building facing degrees) else do (Do nothing)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Food Greater than or equal to 5
-
And - All (Conditions) are true
-
Conditions
- ((Playable map area) contains FoodSupply) Equal to False
-
Conditions
-
Then - Actions
- Game - Display to (All players) for 30.00 seconds the text: A convoy has entere...
- Game - Display to Player Group - Player 6 (Orange) for 30.00 seconds the text: Our food supply is ...
- Unit - Create 1 Food Supply for Player 11 (Dark Green) at (Center of Pink Hire Mercs <gen>) facing Default building facing degrees
- Set FoodSupply = (Last created unit)
- Unit - Order FoodSupply to Move To (Center of OrangeSpawn <gen>)
- Trigger - Turn on OS4 <gen>
- Else - Actions
-
If - Conditions
-
Events
- Time - Every 4.00 seconds of game time
-
Actions
- Cinematic - Ping minimap for (All players) at (Position of FoodSupply) for 2.00 seconds
- Unit - Order FoodSupply to Move To (Center of OrangeSpawn <gen>)
-
Events
- Unit - A unit enters OrangeSpawn <gen>
-
Conditions
- (OrangeSpawn <gen> contains FoodSupply) Equal to True
-
Actions
- Unit - Remove (Triggering unit) from the game
- Game - Display to (All players) for 30.00 seconds the text: The Food Supply has...
- Set Food = 0
-
Events
- Time - Every 0.03 seconds of game time
-
Actions
- Set RandomUnitSpawn[1] = (Random integer number between 1 and 5)
Last edited: