Welcome to the BF Forums! Register Now, It's Free!

Welcome to the BF Forums; your source for the latest and greatest video game news, strategies, discussions, and resources. Join over 60,000 like-minded gamers from around the world to chat about your interests in our community.

You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free.

Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
BattleForums.com Forums > Major Games > Starcraft > Starcraft Maps and Modifications

Reply
 
Thread Tools Display Modes
Old 02-16-2008, 10:00 PM   #1 (permalink)
BattleForums Newbie
 
Join Date: Feb 2008
Posts: 1
Order trigger help? =)

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!
hockeyb47 is offline   Reply With Quote
Old 03-03-2008, 01:04 AM   #2 (permalink)
BattleForums Newbie
 
ZzMayhemzZ's Avatar
 
Join Date: Sep 2003
Location: Nebraska
Age: 30
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
Old 04-01-2008, 07:22 PM   #3 (permalink)
BattleForums Newbie
 
Kazhang's Avatar
 
Join Date: Apr 2008
Location: Frozen Wastelands Of Ardun
Age: 15
Posts: 19
Re: Order trigger help? =)

Quote:
Originally Posted by ZzMayhemzZ View Post
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
Kazhang is offline   Reply With Quote
Reply

« Help Me!!!! | Units damage values are changing all by themselves?! »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT -4. The time now is 03:59 PM.



Powered by vBulletin® Version 3.7.2 | Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0