Play3r 147 Posted March 27, 2018 I want to make a MP mission for some friends and i want to make so a player has to heal a AI that have been shoot. I have <pilot setdamage 0.8> on the AI unit (pilot) inside unit init field. without the <> :) and this inside his INIT also [pilot, "PRONE_INJURED_U2", "ASIS"] call BIS_fnc_ambientAnim; I have a trigger that has this in COND: damage pilot ==0.2 ( i have read somewhere on the WIKI that a medikit heals 0.75 %) on ACT : pilot switchmove "UnconsciousReviveDefault_B"; have also tried pilot playmove "UnconsciousReviveDefault_B"; and pilot playmovenow "UnconsciousReviveDefault_B"; He does not play the last animation, do i need something more to make it work ?? Share this post Link to post Share on other sites
SerbiX8 3 Posted March 27, 2018 Quote damage pilot ==0.2 ( i have read somewhere on the WIKI that a medikit heals 0.75 %) Your Pilot dude will have 0.25 damage after healing. Also I noticed that after switchMove command he will change his direction. On ACT (replace yours):_dir=getDir pilot; pilot switchmove "UnconsciousReviveDefault_B"; pilot setDir (_dir+180); Cheers. Share this post Link to post Share on other sites
Play3r 147 Posted March 28, 2018 21 hours ago, SerbiX8 said: Your Pilot dude will have 0.25 damage after healing. Also I noticed that after switchMove command he will change his direction. On ACT (replace yours):_dir=getDir pilot; pilot switchmove "UnconsciousReviveDefault_B"; pilot setDir (_dir+180); Cheers. Thanks for the help but i must be dumb i can't get it to work. i have tried in VR with only a player and a AI Player is nato combat life saver Ai has in init field : [pilot, "PRONE_INJURED_U2", "ASIS"] call BIS_fnc_ambientAnim; pilot setdamage 0.8 I have a trigger with COND : damage pilot ==0.25 ON ACT : pilot switchmove "UnconsciousOutProne"; but AI keeps laying on his back do i need to use this one: pilot call BIS_fnc_ambientAnim__terminate; somewhere in the trigger also i have tried it ON ACT but no joy. do you have any ideas what i need i will be glad to read about it. Cheers. Share this post Link to post Share on other sites
SerbiX8 3 Posted March 28, 2018 If the player is a combat life saver, he may be using medikit insted of a FAK. 2 hours ago, Play3r said: COND : damage pilot ==0.25 Your trigger fires only when pilot's damage is equal to 0.25. Try this in COND: damage pilot<=0.25 I think that's what causing the problem. Cheers. Share this post Link to post Share on other sites
Play3r 147 Posted March 28, 2018 thanks for the reply, but it will not work for me. Any chance i can send you a sample mission of what i have done. so you can see what i have done "up close" cheers Share this post Link to post Share on other sites
Play3r 147 Posted March 29, 2018 SerbiX8 made it work for me THX a lot.. Cond : damage pilot<=0.25 ACT: pilot call BIS_fnc_ambientAnim__terminate; _dir=getDir pilot; pilot switchmove "UnconsciousOutProne"; pilot setDir (_dir+180); link to test in VR https://www.dropbox.com/s/00oc181u3defgkv/test_medic.VR.rar?dl=0 Share this post Link to post Share on other sites
KiloSwiss 16 Posted April 6, 2018 https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#HandleHeal This is better than a trigger with damage pilot <= 0.25 Share this post Link to post Share on other sites