OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: limmy3 on 07 Sep 2007, 16:59:05

Title: Create trigger by trigger
Post by: limmy3 on 07 Sep 2007, 16:59:05
Hello mates,

What I want to do is:
 hide the actual Radio Alpha trigger as long as an other commander gives the Radio triggers free.
I know that it is possible to create a trigger by script or an other way but I don't know for what I need to look.

create trigger won't help me here the normal editing is meant.
I have seen how to do it lately ... but you know how it is when you need it you forgot where you found it.

Help is  :welcome:, please.  :D

Regards limmy3
Title: Re: Create trigger by trigger
Post by: Mandoble on 07 Sep 2007, 21:35:04
Use setRadioMsg (http://www.ofpec.com/COMREF/index.php?action=list&game=All&letter=s#setRadioMsg) to set or hide triggers radio texts.
Title: Re: Create trigger by trigger
Post by: limmy3 on 08 Sep 2007, 17:02:18
Hi Mandoble,

thank you!  :D

The possibilities are very interesting!  :D
I didn't think of that before.  :(

But actually it is not quiet what I was looking for. You can activate the radio allthough you don't know what you're activating. Even when you but a 1 setRadioMsg "Not active." into the init.sqs to stop this.
What I am looking for is a possibility to blockade the use of radio till it is opened by a command.

Unless I have overseen a possibility with setRadioMsg.  ??? :whistle: ???

Regards limmy3
Title: Re: Create trigger by trigger
Post by: Planck on 08 Sep 2007, 19:45:33
I think setRadioMsg "null" disables the radio.


Planck
Title: Re: Create trigger by trigger
Post by: limmy3 on 09 Sep 2007, 16:11:21
Hi Plank,

Quote
I think setRadioMsg "null" disables the radio.
It blindes out the text you used for the Radio command. After this the Radio Channel appears and the radio is still useable.

Regards limmy3