Kydoimos 916 Posted October 8, 2013 Hi all - is there a way to get AI to respond to shots fired near them while they are in the ambientanimcombat function? I think I have a script that enables them to respond to getting wounded, but they do seem to be oblivious to everything around them! :p I'm not desperate for an answer, but it would be cool to know! Share this post Link to post Share on other sites
cobra4v320 27 Posted October 8, 2013 [this,"WATCH","ASIS",{_this knowsAbout player > 0.5}] call BIS_fnc_ambientAnimCombat; Share this post Link to post Share on other sites
Kydoimos 916 Posted October 8, 2013 Cool - thanks Cobra, very helpful - I'll give that a go! Share this post Link to post Share on other sites
cobra4v320 27 Posted October 8, 2013 You can also check if the unit has been damaged. [this,"WATCH","ASIS",{_this knowsAbout player > 0.5 || getDammage _this > 0.1}] call BIS_fnc_ambientAnimCombat; Share this post Link to post Share on other sites
Kydoimos 916 Posted October 8, 2013 Ah mate - works beautifully - cheers! Share this post Link to post Share on other sites
iconoclastdx 5 Posted October 14, 2013 Anybody have a way to get this to work with gunlights? Any gunlights forced on with enableGunLights are switched off by ambientAnimCombat. If I call it after the animation it just ignores it. Share this post Link to post Share on other sites