Jump to content

Vanilla Animations Script


kieranfoy

Recommended Posts

Right, I've read all the tutorials (what few there are), took a few animation mods apart, and asked for help, and I STILL have no clue how to do what I'm asking.

 

I'm looking for a simple script: one that, when used in a spell will force the player to play Mancar Camorans' preaching animation for thirty seconds; and another to have the player play the praying animation.

 

I tried looking at the pose mods, but their scripts were so cluttered with bits dedicated to fancy menus I couldn't figure out which bits had to do with the animations.

 

I tried using the vanilla preach and obeisance tokens and pcikidle, and THAT didn't work, even though the tutorial said it should.

 

I'm, frankly, at my wits end.

 

How do I do this? How do I get the player to play a simple vanilla animation for thrity seconds?

Link to comment
Share on other sites

It should work pretty much as you said: AddItem + PickIdle.

But, for some mysterious reason, I've never got it to work on the first try.

 

Here is a script I created recently for a dance rug:

scn aaqqddDanceRug1SCRIPT

 

begin OnActivate

if player.getitemcount aaqqddDanceTokenBase == 0

....player.additem aaqqddDanceTokenBase 1

........player.pickidle

....else

........player.additem aaqqddDanceTokenBase 999

........player.pickidle

........player.removeitem aaqqddDanceTokenBase 999

........player.removeitem aaqqddDanceTokenBase 999

........player.pickidle

........player.playGroup Idle 1

....endif

end

 

The IdleAnimations is set up to play the dance animation, if the actor has 1 token in his inventory. There are other scripts that play a different dance animation for 2 tokens, 3 tokens, etc.

 

Sometimes it is hard to stop the animation. In these cases, there is a reset animation (999 tokens, in my setup) that does the trick. "Player.playGroup Idle 1" is also recommended.

 

This is pretty much all I know about it. Hope it helps.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...