boby91 10 Posted December 28, 2016 Hi, I've little problem with script, which you can see. When someone hit unit, he swich to animation (injured) and someone can arrest him. Its working on pc, where is mission running, but others dont see the animation.. for them is the unit only stuck in some weird position and also, they cant use action on the unit "zvednout", which terminate animation and allow this unit move with us. I think its problem of global/local issue.. this addEventHandler ["hit",{[unit1,"PRONE_INJURED",""] call BIS_fnc_ambientAnim;unit1 addaction ["Zvednout","unit1 call BIS_fnc_ambientAnim__terminate"];}]; Share this post Link to post Share on other sites
boby91 10 Posted December 28, 2016 So i solve this :) I had to use MPEventHandler with MPHit.. but still is problem with ending injured animation. So I used trigger, where is condition: captive unit1 and onact: unit1 call BIS_fnc_ambientAnim__terminate.. It works fine now. Share this post Link to post Share on other sites
Mordacai 38 Posted December 28, 2016 Thanks for reporting your fix. It can help others as well...... Share this post Link to post Share on other sites