- Joined
- May 3, 2008
- Messages
- 3,154
I almost complete my map, the only thing I need to do is to fix the trigger for AI computer.
-
AI Normal Movement
-
Events
- Time - Every (Random real number between 5.00 and 7.00) seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in AI_Unit and do (Actions)
-
Loop - Actions
- Set AI_Movement = (Random point in (Playable map area))
- Unit - Add Wander (Neutral) to (Picked unit)
- Unit - Order (Picked unit) to Attack-Move To AI_Movement
- Custom script: call RemoveLocation(udg_AI_Movement)
-
Loop - Actions
-
Unit Group - Pick every unit in AI_Unit and do (Actions)
-
Events
-
AI Easy Hp Recovery
-
Events
- Unit - Hive Member 0013 <gen>'s life becomes Less than 50.00
- Unit - Hive Member 0014 <gen>'s life becomes Less than 50.00
- Unit - Hive Member 0015 <gen>'s life becomes Less than 50.00
- Unit - Hive Member 0016 <gen>'s life becomes Less than 50.00
- Unit - Hive Member 0017 <gen>'s life becomes Less than 50.00
- Unit - Hive Member 0018 <gen>'s life becomes Less than 50.00
- Unit - Hive Member 0019 <gen>'s life becomes Less than 50.00
- Unit - Hive Member 0020 <gen>'s life becomes Less than 50.00
- Unit - Hive Member 0021 <gen>'s life becomes Less than 50.00
- Unit - Hive Member 0022 <gen>'s life becomes Less than 50.00
- Unit - Hive Member 0023 <gen>'s life becomes Less than 50.00
-
Conditions
- ((Owner of (Triggering unit)) controller) Equal to Computer
- (Melee AI of (Owner of (Triggering unit))) Equal to Easy AI
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Life of (Triggering unit)) Less than (Random percentage)
-
Then - Actions
- Set AI_Fountain_Healing = (Position of Fountain of Ice 0025 <gen>)
- Unit - Order (Triggering unit) to Move To AI_Fountain_Healing
- Custom script: call RemoveLocation(udg_AI_Fountain_Healing)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
AI Easy Purchase Item
- Events
-
Conditions
- ((Triggering player) controller) Equal to Computer
- (Melee AI of (Triggering player)) Equal to Easy AI
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Then - Actions
- Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)