View Single Post
Old 03-03-2008, 01:04 AM   #2 (permalink)
ZzMayhemzZ
BattleForums Newbie
 
ZzMayhemzZ's Avatar
 
Join Date: Sep 2003
Location: Nebraska
Age: 31
Posts: 22
Re: Order trigger help? =)

How do I change two players into allies/enemies?


Use the "Set Ally Status" action in a trigger. The owner of the trigger will be the one affected by the trigger. For example, there is a P1 human, and a P2 computer, and you want to ally them. A trigger owned by P1 saying "Set alliance status: Set P2 to ally" will cause P1 to treat P2 as an ally. However, this trigger has not specified any special behavior for P2, so P2 will still attack P1's units. To make sure an alliance is two-way (which it usually should be), make sure to use the appropriate triggers for all affected players.

Likewise, this can be used to force two otherwise allied computer players to attack each other. You just have to set them to be enemies, not allies.
__________________
ZzMayhemzZ is offline   Reply With Quote