Jump to content
Sign in to follow this  
Falloutperson416

How to make task to heal ai?

Recommended Posts

Title says it all. How can I make a task to heal a player? I know how to make the task but how can I set the task to completed when the player heals the ai? Thanks!

Share this post


Link to post
Share on other sites

You could check the AI for damage e.g. if (ai_name damage < 0.2) then "aihealed = true"; and then make a trigger with the condition 'aihealed' that sets the task as succeeded.

Obviously I'm not the best at this lol but that would be what I tried to do anyway.

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  

×