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: Radio Trigger  (Read 1569 times)

0 Members and 1 Guest are viewing this topic.

Offline Arkon

  • Members
  • *
Radio Trigger
« on: 07 Aug 2007, 14:45:17 »


Hi

Iv'e got a trigger for a Alpha radio message (heli pick-up) but I want to keep the radio hidden until a certain variable is set -
anyone know how to do this.

Thanks

Arkon

Offline Cheetah

  • Former Staff
  • ****
Re: Radio Trigger
« Reply #1 on: 07 Aug 2007, 15:04:22 »
In the init.sqs:

1 setRadioMsg "NULL";

when you want to activate it:

1 setRadioMsg "Click me!";

Note: not sure if radio alpha is 1 or 0.

Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline LeeHunt

  • Former Staff
  • ****
  • John 21:25
Re: Radio Trigger
« Reply #2 on: 07 Aug 2007, 18:17:51 »
Radio Alpha is 1.

As Cheetah pointed out, Init.sqs is useful to hides tons of things, markers as well as radio commands etc!  :D


"Objective 2" setmarkertype "Empty"

for example hides markers too.  later in the mission:

"Objective 2" setmarkertype "Destroy"




Offline Arkon

  • Members
  • *
Re: Radio Trigger
« Reply #3 on: 07 Aug 2007, 18:32:08 »

Hi Cheetah

Thanks for the reply...

Yes it works fine and radio alpha is 1.

And thank you Lee for pointing out those things also.

Cheers!

Arkon
« Last Edit: 07 Aug 2007, 18:35:34 by Arkon »