Jump to content

Recommended Posts

Um, hi there,

I have a question regarding the editor. How do I make it so that a unit runs an animation until a player enters a trigger synced to the unit, because right now? I'm trying to get a unit to stand up and join your group after you enter the room, but the unit just joins the group but doesn't stand up.

 

(I'm not sure if this is where I should post this)

Share this post


Link to post
Share on other sites

Best place to post questions like this.

Depends on what animation it is you can use one of the following:

_unit playMove "Stand";//makes unit play the default animation, usually standing up with a smooth transition
_unit playMoveNow "Stand";//same as above, with a more immediate transition
_unit switchMove "Stand";//makes the unit instantly play the default animation

Cheers

Share this post


Link to post
Share on other sites
6 hours ago, Grumpy Old Man said:

Best place to post questions like this.

Depends on what animation it is you can use one of the following:


_unit playMove "Stand";//makes unit play the default animation, usually standing up with a smooth transition
_unit playMoveNow "Stand";//same as above, with a more immediate transition
_unit switchMove "Stand";//makes the unit instantly play the default animation

Cheers

Good news, if I use switchMove the unit will stand up, bad news is that now the unit just stands there and turns around, they won't shoot at enemies either.

Share this post


Link to post
Share on other sites

Yeah I think when you do an animation, they can get pretty hard locked in them.

Suggestion:

_unit switchMove ""

 

Share this post


Link to post
Share on other sites

I've tried to change {waitUntil {time > 0} in the animation to stop when the trigger is activated, but since I don't know how to properly do that I'm getting errors if I mess with it.

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

×