| 07-08-2003, 09:53 PM | #1 |
Hey, this is my first post here, i've been lurking for about a week and a half and i was workin on my first map (a completely different new jailbreak game) and i've run across one large problem. The way i set it up, you choose your cop or robber when you get into the game. I have 3 player groups, Cops, Robbers, JailedRobbers. I can ally them with eachother just fine (as far as i know) but i am not able to ally them with eachother inside the group. i tried "Player Group - Make Robber treat Robber as an Ally with shared vision" but it doesn't seem to work at all. Any help with this would be greatly appreciated, thx |
| 07-08-2003, 10:04 PM | #2 |
Why not make an extra player group with the same units for eatch? |
| 07-08-2003, 10:06 PM | #3 | |
good idea, i'll try it out and get back to ya EDIT: Hmm...that doesn't seem to work either, i fear that i am using player groups incorrectly. I do know how to use variables etc so i'm not a COMPLETE noob, just very close. Would anyone be willing to show me the correct usage of a player group? i'll paste what i have below. Quote:
everything spawns correctly, except they just won't become allies or anything. And i was incorrect about them becoming allies any other way, i checked it and nothing is happening with the player groups. |
| 07-08-2003, 10:29 PM | #4 |
Pick every player in Robbers and do Multiple Actions Loop Set Picked player equal to playervariable Pick every player in Robbers and do (Make playervariable treat Picked Player as an ally) That ought to do it. It picks everyone in the group, and for each person is picks it makes him allies with everyone else in the group. |
| 07-08-2003, 10:33 PM | #5 |
Thanks for the info, it looks logical and i'm going to test it out now and see what happens |
| 07-08-2003, 10:41 PM | #6 |
this works too Player Group - Pick every player in (All players) and do (Player - Make (Picked player) treat Player 9 (Gray) as an Ally) |
| 07-08-2003, 11:22 PM | #7 |
Thanks a million Dinadan and Dead-Inside. I got it and it works like a charm. |
