Jump to content
Sign in to follow this  
kiory

Heal someone, trigger animation switchMove

Recommended Posts

Me again...

I am terribly sorry for all the questions, my scripting knowledge is extremely limited, I only started a few days ago.

I have a character (playable) the other player needs to heal, at the start of the mission the character has been triggered to switchMove to an animation that makes him look unconscious, he's also got low health so it's possible to heal him. What I need to know, can I switchMove him to a different animation once he has been healed, or if there is a way to detect a health state change and then use switchMove to change his stance?

http://www.armaholic.com/forums.php?m=posts&p=137054&highlight=HEAL%2BTRIGGER#137054

This thread is all I could find, I can see it has health detection etc, but it's not quite what I need, also a lot of the code I don't under stand, I get basics like "if (damage this > 0.5} then { this addAction ["Check Unit", "Healthcheck.sqs"]}", which basically say's if players/AI damage is greater than 0.5 then play this healthcheck.sqs script, I think...

Anyway, is there anyone interested in helping me out in this? I'd really appreciate it.

Edited by Kiory

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×