Home   Help Search Login Register  

Author Topic: Shut up already! enableRadio false help needed  (Read 1969 times)

0 Members and 1 Guest are viewing this topic.

Offline DOA

  • Members
  • *
  • ArmA 2 Rules - Nothing else comes close!
    • The Graveyard Shift
Shut up already! enableRadio false help needed
« on: 26 Sep 2005, 19:56:28 »
I'm working on a mission where in a 2 man group in a gunship automatically joins the group on the ground if they are shot down. When this happens they lose the enableRadio false init and begin to here nonstop enemy position and other calls.
How can I get them back to enableRadio false when they get shot down and join the ground team? Thanks...DOA
« Last Edit: 26 Sep 2005, 19:57:04 by DOA »
ArmA 2 - Nothing else comes close!
--
DOA

Kyle Sarnik

  • Guest
Re:Shut up already! enableRadio false help needed
« Reply #1 on: 26 Sep 2005, 20:41:31 »
Uh, I'm sorry but what are you even asking? You're not very clear, and it appears you answered your own question. Just use enableradio false to turn off the radio messages.

Offline DOA

  • Members
  • *
  • ArmA 2 Rules - Nothing else comes close!
    • The Graveyard Shift
Re:Shut up already! enableRadio false help needed
« Reply #2 on: 26 Sep 2005, 21:21:37 »
Thanks for looking at my post and trying to help. I'm
sorry for the poorly worded question, let me try to explain better:

This MP Mission has two groups that can be live or AI.  a 2 man group "A" and a 10 man group "B". A flys an AH64 as air  cover for group  B who is clearing a village.

The AH-64 pilot, who is unit a1, and gunner, who is unit a2, in group A start off with enableRadio false in their init and all is well (quiet).

Then later on in the mission, if they get shot down, I have a trigger set to detect their death and have them become part of group B, fighting on the ground below them when they respawn. When Group A gets shot down they become man 11 and 12 in group B and they immediately start hearing all the radio calls. Switching groups seems to turn on the radio.  

How can I get them back into enableRadio false once they have switched groups and become man 11 and 12 in group B?


Thanks again...DOA
ArmA 2 - Nothing else comes close!
--
DOA

Kyle Sarnik

  • Guest
Re:Shut up already! enableRadio false help needed
« Reply #3 on: 26 Sep 2005, 21:42:20 »
Well first, let me clearify this. Enableradio will mute ALL radio messages, not just a given unit's. This means you only need it once. Second, if you can see and hear radio messages, then enableradio is set to true. This means you have to set it to false again (obviously). When you disable the radio, it should stay off until you set enableradio to true. So I still don't understand what your problem is, and it appears to me you don't have one, or at least you answered it yourself allready.
« Last Edit: 26 Sep 2005, 21:42:31 by Kyle Sarnik »

Offline DOA

  • Members
  • *
  • ArmA 2 Rules - Nothing else comes close!
    • The Graveyard Shift
Re:Shut up already! enableRadio false help needed
« Reply #4 on: 26 Sep 2005, 22:00:49 »
When the pilot and gunner who start the mission in their own little two man group die, they respawn and are "Joined" to the second group. When this happens they are no longer man a1 and a2 but they become man 11 and man 12 in the ground assault group.  When this happens the radio comes back on for them.

I guess my question is how can I turn the radio function on and off once a mission is running? Can I make a trigger to enable radio false or true; and if so, what would the on activaton line be?

Thanks...DOA

Quote
Well first, let me clearify this. Enableradio will mute ALL radio messages, not just a given unit's.
I have been putting enableRadio false in each playable units init field to shut off the radio on a per man basis. Are you saying I only need to put this once to turn it off for every unit? That would certainly solve the problem. where would I put it? init.sqs?
ArmA 2 - Nothing else comes close!
--
DOA

Kyle Sarnik

  • Guest
Re:Shut up already! enableRadio false help needed
« Reply #5 on: 26 Sep 2005, 23:13:53 »
It can be executed anywhere at anytime, its a command. I think your real problem is that you didn't try using the command during the mission before posting here, so like I said, you allready answered your own question...  ::)

Offline DOA

  • Members
  • *
  • ArmA 2 Rules - Nothing else comes close!
    • The Graveyard Shift
Re:Shut up already! enableRadio false help needed
« Reply #6 on: 27 Sep 2005, 00:24:33 »
Thanks Kyle,
I got it at last. Thanks for being paient with this. LOL
I can only imagine the names you have been calling me! LOL!  ;D
I was making it too hard. I never tried just enableradio false in a trigger... I had to have the [unit names,] group name or foreach units and so on. It never occured to me that all I had to put in the activation was enableRadio false all by itself. Thanks again...DOA
« Last Edit: 27 Sep 2005, 00:25:18 by DOA »
ArmA 2 - Nothing else comes close!
--
DOA