OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started 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
-
Just stick this in the unit's init line:
this setVariable ["BIS_noCoreConversations", true]
Alternatively, you can easily do it for every unit on the map by using the following:
{_x setVariable ["BIS_noCoreConversations", true]} forEach allUnits
Hope that helps.
-
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
-
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.