Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: disabling radio trigger in a script  (Read 1962 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