OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: haroon1992 on 28 Aug 2010, 16:39:28

Title: Turn off radio of a specific unit?
Post by: haroon1992 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?

Title: Re: Turn off radio of a specific unit?
Post by: Zipper5 on 28 Aug 2010, 20:50:18
I believe this will work:
Code: [Select]
this removeWeapon "itemRadio"But only in Arma 2.
Title: Re: Turn off radio of a specific unit?
Post by: haroon1992 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
Title: Re: Turn off radio of a specific unit?
Post by: Wolfrug on 14 Sep 2010, 14:50:55
Are you sure? I'm almost positive doMove should execute the command with no chatter, whereas commandMove (http://www.ofpec.com/COMREF/index.php?action=details&id=70&game=All) 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.
Title: Re: Turn off radio of a specific unit?
Post by: Zipper5 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.
Title: Re: Turn off radio of a specific unit?
Post by: haroon1992 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