| 08-20-2007, 04:51 PM | #1 |
Hello all. I'm having some difficulty setting alliances using triggers, I've tried a couple of different methods but none seem to work very well. After a selection system that places players in the teams they want (adding them to 1 of 4 player groups), I've attempted both doing a Trigger: Player Group - Make Teams[1] treat Teams[1] as an AllyI'm open to suggestions as to how this particular trigger should be written. |
| 08-20-2007, 06:31 PM | #2 |
ok here is the easiest way that I know Use a loop for intiger A Start the game with everyone as enemies then do this For each integer A from 1-4 do for each integer B from 1-4 do player make player[integer A] treat player[integer B] as an ally with shared vision Then just do that for player 5-9 and 9-12 |
| 08-20-2007, 07:14 PM | #3 |
Hmm... I'll give that a try, the only problem is my map allows for you to choose your teams, so the player numbers will be mixed around. But if I understand correctly, the alliances have to be set player by player instead of a group vs a group. |
| 08-20-2007, 08:06 PM | #4 |
yes it is easiest to set it player by player if ya want post what ya need exactly and i can take a look |
| 08-21-2007, 04:10 AM | #5 |
I've got it all set now... the player group method did indeed work, my bug was actually in the choosing of the team trigger the entire time. Just a simple thing I overlooked that was causing AI players (which is all i can use testing it myself) to not go into the respective team player groups. Now i've gotten myself into a whole new set of bugs... very very random ones, like a player name being turned into gobbledeguk about 2 minutes into the game, and timers not going off... I blame it on my inexperience with WEU, I just started using it. Maybe I misconfigured it. |
