OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: ZapBrannigan on 11 Sep 2010, 14:31:43

Title: Stop default talking
Post by: ZapBrannigan on 11 Sep 2010, 14:31:43
I need to get rid of the thing where the AI automaticly greet eachother and salute and the menu where the player can ask ai about targets and weather,   how do i remove that?

thanks
Title: Re: Stop default talking
Post by: Zipper5 on 11 Sep 2010, 15:02:33
Just stick this in the unit's init line:
Code: [Select]
this setVariable ["BIS_noCoreConversations", true]Alternatively, you can easily do it for every unit on the map by using the following:
Code: [Select]
{_x setVariable ["BIS_noCoreConversations", true]} forEach allUnitsHope that helps.
Title: Re: Stop default talking
Post by: haroon1992 on 13 Sep 2010, 16:59:41
there is also a command callded "disableConversation"

usage :

unitName disableConversation TRUE/FALSE


Not sure whether that means the target unit will not be able to speak others OR others will not be able to speak the target unit.

Regards,
Haroon1992
Title: Re: Stop default talking
Post by: Zipper5 on 13 Sep 2010, 21:31:55
In my experience that command seems less reliable than the other method, but that was a while ago that I last tested it. It may have become better in patches, or perhaps it was just me.