| 08-04-2002, 12:59 PM | #1 |
Guest | Ok here is the deal, I need to keep track of who is allied with who in my map. Ive played with this for an hour now and can't get it working, maybe someone can see my error. All players are allied to all players when this trigger is run. Event: Player 1 types "allies" Actions:  For each (Integer A) from 1 to 12, do    Pick every player in (All players) and do     If (Player[Integer A]) is giving (Picked Player) alliance Equal to True      then do Player group - Add (picked player) to Allies[Integer A]      else do Player group - Add (picked player) to Enemies[Integer A] Problem is that the groups stay empty... Allies[] and Enemies[] are player group arrays. Can anyone see anything wrong with this?? I hate not being able to figure stuff out on my own =( __________________ "I’m on the Zoloft to keep me from killing y’all" |
| 08-05-2002, 01:14 AM | #2 |
I think arrays of player groups don't work...Can't remember how to actually get them to work, But its not obvious, I think you need to set a player group var first as in PlayerGroup B Then set the slot of the array = to that player group variable alliances[1]=PlayerGroup B and repete that for every slot in the array, using a new var for each one... |
| 08-05-2002, 02:17 AM | #3 |
Guest | ah dam. well thanks, that does seem to be the only explanation =( I got the map workin tho =) Nuther thing I learned - there is no Triggering Player in event-alliance change |
