Forum Jump :

Author Message

Posts: 3

Level: Member

Country: us
In-game name:

#97372 Posted at 2011-01-27 04:19        

There are 36 players and all are named (p1 to p36)

I want to give p36 the ability to control certain elements of the mission via the Radio commands. Actually, truth be told, I'd like for p34 and p35 to be able to use the commands as well, but I'd settle for just limiting it to p36.

I create the trigger with 0 radius and Radio Alpha selected (and a text line, of course). In the 'On Act' field I have it executing a vehicle spawn script which has been tested and is working properly. The question is: How can I make this radio trigger usable only to this particular player slot?. I have tried all of the following condition lines and they have failed when tested. (either because everyone gets the ability or because no one gets the ability)

player == p36;

p36 in thislist;

player == p36 || player == p35 || player == p34;

I have also tried making the trigger itself available to all but with an if/then/else statement in the 'On Act'. It failed miserably.

Also, when I grouped the trigger to the unit in question, no one could even see the radio options anymore (it was as though they did not exist).

Any ideas?