Home   Help Search Login Register  

Author Topic: disabling radio trigger in a script  (Read 1259 times)

0 Members and 1 Guest are viewing this topic.

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
disabling radio trigger in a script
« on: 23 Mar 2003, 17:01:31 »

I am using a script that allows the admin to choose various options during the game setup

eg the param 1 and param 2 boxes

very simply
-------------------------------------------------
?(param2 == 9000):goto "standard"


#standard
XXXXXXXXXXXXXX
-------------------------------------------------------

and where the XXXXXX
i want to place a line that disables an "Activated by Bravo" radio trigger

the name of the trigger is "flagstatus"


any help would be appreciated
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Offline Killswitch

  • Members
  • *
  • Peace, cheese and ArmA
Re:disabling radio trigger in a script
« Reply #1 on: 23 Mar 2003, 23:48:31 »
Hmm...(me scratches head). Maybe this is what you want:
Code: [Select]
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: [Select]
2 setRadioMsg "Show flag status";
...and the radio trigger will be useable again.


Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:disabling radio trigger in a script
« Reply #2 on: 24 Mar 2003, 02:22:55 »
thankyou
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123