Forum Jump :

Author Message


Posts: 1515
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#97501 Posted at 2011-01-29 16:03        
     
If you removed the last }; from the script that would have worked, I don't think it fixes the radio problem though.

With radio triggers The Condition is ignored along with thislist. It makes sense as it would be odd to have Radio Alpha present.

As you've already worked out you need to allow anyone to try and use the radio but limit it to the actual unit by using the On Act box.

if (player == p36) then { hint "Roger That"};


If you want several player to use the radio then in a game logic place all the names into an array
array1= [ p34,p35,p36]

and in the On Act of the trigger
if (player in array1) then { hint "Roger That"};


This will only work in SP.

This post was edited by F2kSel (2011-01-31 17:53, ago)