OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Olphy on 04 May 2004, 00:37:46

Title: Hiding a Radio Option.
Post by: Olphy on 04 May 2004, 00:37:46
Hi.

How do you hide a Radio message in the radio option during a game.

Say if you want an option to only be availible at a certain point during the mission.

Cheers.
Title: Re:Hiding a Radio Option.
Post by: Chris Death on 04 May 2004, 00:45:33
Should have been found in the comref aswell, but anywayz:

index setradiomsg "null"

will make it disappear,
while:

index setradiomsg "whatever"

will make it visible with the name of "whatever"

index = the number of your radio call - 0 to 9 (or so)

~S~ CD