Home   Help Search Login Register  

Author Topic: Hide radio command  (Read 1087 times)

0 Members and 1 Guest are viewing this topic.

pazuzu

  • Guest
Hide radio command
« on: 02 Jul 2004, 05:11:06 »
Hi,

How would I go about hiding radio command (Radio Alpha) until a trigger is set? I want to have an artillary strike called in by Radio command but I want it hidden until its needed.

Thank you

ponq

  • Guest
Re:Hide radio command
« Reply #1 on: 02 Jul 2004, 10:09:33 »
From the online command reference:

index setRadioMsg text

Operand types:
index: Number
text: String
Type of returned value:
Nothing
Description:
Set radio message (0, 0, map radio) to given text. Use "NULL" to disable radio slot.

Example:
0 setRadioMsg "Alpha Radio"

LCD    November 11, 2002, 04:22
There is no 0 channel in the radio so making

0 setRadioMsg "Alpha Radio"

will not work.

available channels are from

1-8 in OFP:CWC

and added

9 and 10 in OFP:R

____
So:
0 Setradiomsg "null"
 in your init.sqs to hide the radio.

Once the trigger is actived:
0 setradiomsg "your text here".