2007-12-24, 13:40:22
The second can be fixed
my suggestion
AI Dies
Events
Unit - A unit Dies
Conditions
AI_is_bot[(Player number of (Owner of (Dying unit)))] Equal to True
Actions
Set AI_Death_point[(Player number of (Owner of (Dying unit)))] = (Position of (Dying unit))
AI moves to Death position
Events
Unit - A unit Is issued an order targeting a point
Conditions
AI_is_bot[(Player number of (Owner of (Ordered unit)))] Equal to True
(Distance between (Position of (Ordered unit)) and AI_Death_point[(Player number of (Owner of (Ordered unit)))]) Less than or equal to 1000.00
Actions
-------- here you must order him to go to other position --------
my suggestion
AI Dies
Events
Unit - A unit Dies
Conditions
AI_is_bot[(Player number of (Owner of (Dying unit)))] Equal to True
Actions
Set AI_Death_point[(Player number of (Owner of (Dying unit)))] = (Position of (Dying unit))
AI moves to Death position
Events
Unit - A unit Is issued an order targeting a point
Conditions
AI_is_bot[(Player number of (Owner of (Ordered unit)))] Equal to True
(Distance between (Position of (Ordered unit)) and AI_Death_point[(Player number of (Owner of (Ordered unit)))]) Less than or equal to 1000.00
Actions
-------- here you must order him to go to other position --------