Home   Help Search Login Register  

Author Topic: Turn off radio of a specific unit?  (Read 1916 times)

0 Members and 1 Guest are viewing this topic.

Offline haroon1992

  • Members
  • *
  • My life is hopeless...
Turn off radio of a specific unit?
« on: 28 Aug 2010, 16:39:28 »
Is there a way to turn off/disable the radio communication of a specific unit/group instead of setting enableRadio to false?

Very busy with life, business, and other stuff. Away from OFP for months. Not sure if I could get back onto it. :(

Offline Zipper5

  • BIS Team
  • ****
Re: Turn off radio of a specific unit?
« Reply #1 on: 28 Aug 2010, 20:50:18 »
I believe this will work:
Code: [Select]
this removeWeapon "itemRadio"But only in Arma 2.

Offline haroon1992

  • Members
  • *
  • My life is hopeless...
Re: Turn off radio of a specific unit?
« Reply #2 on: 13 Sep 2010, 16:53:23 »
removing radio from the unit stops the radio chatter but
he is still talking/chatting when he orders his mates to move to a location.

if I do :

guy1 domove getpos player;

guy1 still says "Group, move to that Clumsy Clumsy in front of US"
(but the radio text is not shown)

the player himself will say similar when I order my mates to move to a position via the Map.

How do I stop this?
How do I stop units from chatting when they are ordered to MOVE via Domove command?

Regards,
Haroon1992
Very busy with life, business, and other stuff. Away from OFP for months. Not sure if I could get back onto it. :(

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: Turn off radio of a specific unit?
« Reply #3 on: 14 Sep 2010, 14:50:55 »
Are you sure? I'm almost positive doMove should execute the command with no chatter, whereas commandMove is the one that audibly gives the order.

Then again, these commands are from OFP days, when you couldn't 'hear' the commands being spoken by other soldiers: maybe they say it without the radio text coming up or somesuch. Hmm. Weird.

If you need it for e.g. a cutscene, you can always try to get around it somehow (like placing the camera far away and zooming in, instead of having the camera close enough to hear).

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline Zipper5

  • BIS Team
  • ****
Re: Turn off radio of a specific unit?
« Reply #4 on: 14 Sep 2010, 17:59:59 »
Yes, doMove will be executed silently. I have a script at the moment making an AI unit chase this player using doMove and he isn't constantly telling his group to move to a certain position.

Offline haroon1992

  • Members
  • *
  • My life is hopeless...
Re: Turn off radio of a specific unit?
« Reply #5 on: 17 Sep 2010, 09:28:08 »
I think I must be using MOVE instead of DOMOVE...
I have to check it when i get home.....

Regards,
Haroon1992
Very busy with life, business, and other stuff. Away from OFP for months. Not sure if I could get back onto it. :(