Order trigger help? =)

hockeyb47

New Member
Joined
Feb 16, 2008
Messages
1
Reaction score
0
Hey guys! I'm having a little trouble with the Order trigger. In this test map I'm making, I have three forces: one computer, another computer, and me. The two computers are separate at location 0 and location 1. I did an Order trigger to attack to the other location. The computers don't attack each other, but if I place one of my own units there, they attack it.

Sooo. How can I get the computers to attack each other? Thanks in advance for any help/input!
 

ZzMayhemzZ

Member!
Joined
Sep 22, 2003
Messages
22
Reaction score
0
Location
Nebraska
Website
Visit site
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.
 

Kazhang

Member!
Joined
Apr 1, 2008
Messages
19
Reaction score
0
Location
Frozen Wastelands Of Ardun
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.
To Add on, computers auto ally from the start of the game, so to make computers become enemies, you have to set player 2 (comp) to enemy player 3 (your other comp) and vice-versa for player 3

--Example--
Have the trigger work for your first comp, so he unallies the 2nd comp
--Conditon--
ALWAYS
--Action--
Set Alliance Status
Set Player 3 (comp) To Enemy
Preserve trigger
---------------------------------------------
This will make player 2 unally player 3, but player 3 will still be allied, so do the same for player 3...just copy it and change the players around :) good luck
 

NewPosts

New threads

Top