Exit Idle Animation?

Post » Thu Jan 23, 2014 12:50 am

Hello everyone,

I'm forcing the player to lay down via scripts as such:

Debug.sendAnimationEvent(game.getplayer(), "IdleLayDownEnter")

but I notice that when I do this, pressing a key does not let the player exit the animation. In fact, the only way to exit is to press the spacebar.

Is there a way to let the player remain in this position as long as they want, but pressing any key would exit it? Is "sendanimationevent" the right move here?

the game.getplayer().playIdle only function only works for some events, I noticed, but even then spacebar is what is used to exit.

Thanks so much, curious to hear thoughts on this

User avatar
Heather beauchamp
 
Posts: 3456
Joined: Mon Aug 13, 2007 6:05 pm

Post » Thu Jan 23, 2014 7:46 am

Send the "JumpLandEnd" animation event to your actor.

User avatar
jessica sonny
 
Posts: 3531
Joined: Thu Nov 02, 2006 6:27 pm

Post » Thu Jan 23, 2014 12:12 am

This would cause the player to jump up and land down, right?

Is there a way to just leave the player in that state until they do something?

For example the book reading idle animation.. the player remains reading until you press spacebar. Is there a way to end that animation when they press other keys or take action (without SKSE)? thanks!

Also are these animations safe?

1 out of 10 times when I do this:

Debug.sendAnimationEvent(game.getplayer(), "IdleExamine")
It teleports me somewhere I've been recently.
I guess these animations aren't supposed to be used like this eh?
User avatar
Claire Vaux
 
Posts: 3485
Joined: Sun Aug 06, 2006 6:56 am


Return to V - Skyrim