- Joined
- Jun 27, 2010
- Messages
- 2,710
-
AI create allies
-
Events
- Time - Every 2.00 seconds of game time
-
Conditions
- Num_of_alliance Equal to 0 - this checks there are no more players to choose heroes
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
- (Player 1 (Red) controller) Equal to Computer
- AHEROES[(Random integer number between 1 and 6)] Equal to No unit - unit array
-
Conditions
-
And - All (Conditions) are true
-
Then - Actions
- Unit - Create 1 heroes[1] for Player 1 (Red) at (Center of Alli Spawn <gen>) facing 270.00 degrees -[color=red]unit-type array[/color]
- AHEROES[] = (Last created unit) - this actually also have to depend on number of unit-type
- Unit - Order AHEROES[] to Attack-Move To (Center of attack horde <gen>)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events