Home   Help Search Login Register  

Author Topic: How to check if radio has been used.  (Read 680 times)

0 Members and 1 Guest are viewing this topic.

Larin

  • Guest
How to check if radio has been used.
« on: 11 Mar 2003, 06:50:12 »
Um hello everyone. None of you probably know me since this is my first time writing, I am very new to OFP scripting. I read the manual and got a few helpful files. I came across the idea of changing names for my radio alpha. Now I know that you use "setradiomsg" command, and I did. However now I am trying to go further and change the name after some used the radio. To do that I probably need to check and see if radio has been used or not. And how do I do that ? Thats for any help you can provide.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How to check if radio has been used.
« Reply #1 on: 11 Mar 2003, 09:34:10 »
Welcome to the forums Larin!

If I understand you correctly, then all you need to do this.   In your trigger

activation:   Radio Alpha
on activation:    whatever you already had; "1" setRadioMsg "New message"

So when somebody uses the radio, the old message will vanish and the new one will appear.    If you do not want it to happen immediately use "1" setRadioMsg "null", and then put the new message in later with a trigger.

Hope that helps.

Plenty of reviewed ArmA missions for you to play