| 06-11-2005, 02:30 AM | #1 |
I want to create a diplomacy-like game in which players can type in "unally Blue" to unally player Blue. Or, "ally blue" to ally player Blue. I have used this format for the trigger: Event player 1 types in "unally blue" player 2 types in "unally blue" player 3 types in "unally blue" player 4 types in "unally blue" ... Conditions ... Actions make player treat blue as enemy make blue treat player as enemy But this format makes me create a TON of triggers. Is there any way to trigger this Ally Chat any easier? |
| 06-11-2005, 03:05 AM | #2 |
This goes in trigger help, not submissions. Submissions is for stuff not obvious. |
| 06-11-2005, 09:56 AM | #3 |
Moved. Octabrain, try using string arrays for player colors and substrings to determine ally/unally status. |
| 06-12-2005, 01:38 AM | #4 |
Hmm.... Can you show me an example of how to do that? |
| 06-12-2005, 07:11 AM | #5 |
ummm, u can say When player 1 says unally (player name) (for all players) Make triggering player unally (entered name) to do the action, you tell it to unally the guy who matches numbers 8-20 ig you dont know how to do this, just ask, and ill look it up for you ^^ |
| 06-12-2005, 03:08 PM | #6 |
Yes please do so. Thnx. |
| 06-13-2005, 06:56 PM | #7 |
Heres what i got, and hopefully it will work, lol. YES, i did use a Pick every player action, but thats the only way i could do it, lol, cant seem to find another way, but maybe thats just me. If you dont know how to do something, heres all the triggers i used If you want me to explain a specific part of the trigger, just ask, but heres a pic of what it should look like. EDIT: Ive added a map with this trigger, so u can look at that if u want NOTE:this is not tested, so its not garunteed to work |
