Jump to content

Recommended Posts

Hey everyone, first time poster.

 

How can I make an AI play an animation when he gets to a waypoint. Then, have him move to the next waypoint after a set amount of time and play a different animation.

 

Scenario: A medic runs up to one dead body, plays the healing animation for 30 seconds, then moves to another body and plays another healing animation for 30 seconds, and so on.

 

I haven't done mission editing in a loooong time and I never did much with scripting.

 

Right now, I can get the AI to play the animation when the mission starts... and that's it, haha.

 

Any help with this, or guidance in the right directions to tutorials (I've watched a ton that never hit this actual scenario), would be amazing. Thanks!

Share this post


Link to post
Share on other sites

Hello, I've been using the following code successfully in waypoint statement

leader (group this) playMove 'AmovPercMstpSnonWnonDnon_AinvPknlMstpSnonWnonDnon'

Hope this helps

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

×