kieranfoy Posted August 8, 2010 Posted August 8, 2010 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?
QQuix Posted August 9, 2010 Posted August 9, 2010 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: Quote 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.
kieranfoy Posted August 9, 2010 Author Posted August 9, 2010 Ah, that does help. Thank you, and kudos!
Recommended Posts