OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Arkon on 07 Aug 2007, 14:45:17

Title: Radio Trigger
Post by: Arkon 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
Title: Re: Radio Trigger
Post by: Cheetah 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.

Title: Re: Radio Trigger
Post by: LeeHunt 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"



Title: Re: Radio Trigger
Post by: Arkon 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