The following quote is from Killswitch
Hmm...(me scratches head). Maybe this is what you want:
Code:
2 setRadioMsg "NULL";
This disables the second (Bravo) radio slot and also removes whatever text
that the trigger in question had set to display instead of the default "Bravo".
To re-enable it would mean calling something like
Code:
2 setRadioMsg "Show flag status";
...and the radio trigger will be useable again.
that shows you how to re enable
----------------------------------------------------------------------------------------------
to show titletext to only one side
examplke of two different messages relayed at same time to either side
?Side Player == West:titletext[format["Awesome Warrior\n%1\n has capped\n %2!",name _flagowner,_flagname],"PLAIN DOWN"]
?Side Player == East:titletext[format["Thay dirty stinking scumbag\n%1\n has capped\n our flag",name _flagowner],"PLAIN DOWN"]
--------------------------------------------------------------------------------------------
To display a message to only the player that activated the trigger
-----------------------------------------------------------------------------------------
some other info i was given a while back, just copied and pasted for ya, hope it helps
If you want it in titletext (white writing down the bottom of the screen) I suggest this line here:
if (Player in thisList) then { titletext [format["Mayday!\n Mayday\n"We lost the tail rotor\nWe are going down",name (thisList select 0)],"Plain down"] }
or even:
? (Player in thisList) : titletext [format["Mayday!\n Mayday\n"We lost the tail rotor\nWe are going down",name (thisList select 0)],"Plain down"]
If you want it in vehicle chat (yellow writing like a radio message), try:
if (Player in thisList) then { vehiclechat format ["Mayday!\n Mayday\n"We lost the tail rotor\nWe are going down",name (thisList select 0)] }
or:
? (Player in thisList) : vehiclechat format["Mayday!\n Mayday\n"We lost the tail rotor\nWe are going down",name (thisList select 0)]
The difference between the ? : and the if then statements isn't much... except in the latter you'll need some { } around the then statement. In the former, you don't
See if any of those fixes your problem.
and some more stuff
here is one method...trigger a script (lets call it sayname.sqs) by adding this to the trigger (lets assume you named your trigger 'namer':
[]exec "sayname.sqs"
in the script itself use this:
saynam=list namer select 0
player sidechat format["%1 has reached waypoint one",name saynam]
exit
that should do it.
and even more
Displayed only to the individual that tripped the trigger
if (Player in thisList) then {titleText[format["%1\n You tripped a Bouncing Betty",name (thisList select 0)],"Plain down"]
and for vehicle occupants
Oh, I missed the second question. You can use the vehicleChat and vehicleRadio commands. One of them (I think it's vehicleChat) doesn't seem to work properly. But the other one will work.
if (Player in thisList) then { vehicleRadio [format["Mayday!\n Mayday\n"We are going down",name (thisList select 0)],"Plain down"]