Home   Help Search Login Register  

Author Topic: Making a Decision Mid-Mission With the Radio  (Read 979 times)

0 Members and 1 Guest are viewing this topic.

Javito

  • Guest
Making a Decision Mid-Mission With the Radio
« on: 17 Aug 2006, 20:34:00 »
I would like the player to decide the course of action of another unit depending upon whether he selects radio alpha or bravo (and I've renamed these using the setradiomsg command). I know I could just set a trigger in-game but I A) Do not want it to be visible from the outset and B) Depending upon the players actions/successes he may never need to make this choice, thus it must be activated only if a certain set of conditions are met.

So to that end I'm wondering if I can do it all in a script. Can I do that? Activate radio alpha and bravo, rename them, have the player select one option and then have the other disappear? Specifically, the player is deciding whether or not a character may join his squad on an attack. Is it something similar to the ? command or is it more intricate? Is this even possible?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re: Making a Decision Mid-Mission With the Radio
« Reply #1 on: 17 Aug 2006, 20:37:33 »
It's not only possible it's easy.

At the start of the mission, for example in your init.sqs, use setRadioMsg "null".    Then use the appropriate setRadioMsg commands later in the mission to make the right things appear.  And null again (in the On Activation field of the radio trigger) to make them disappear.them disappear.
« Last Edit: 17 Aug 2006, 20:39:42 by macguba »
Plenty of reviewed ArmA missions for you to play