kieranfoy Posted March 8, 2010 Posted March 8, 2010 I was wondering; is there any way to force an NPC to fall to their knees like they did during the quest LAdy of PAranoia? I've examined the script attatched to Herdir's spell, but I can't figure out how to use part of it to create a custom spell script to replicate the effect. Any help would be apprecited.
Vagrant0 Posted March 9, 2010 Posted March 9, 2010 I was wondering; is there any way to force an NPC to fall to their knees like they did during the quest LAdy of PAranoia? I've examined the script attatched to Herdir's spell, but I can't figure out how to use part of it to create a custom spell script to replicate the effect. Any help would be apprecited.I might be wrong, but I think it is triggered by an idle animation. Unfortunately I don't have SI installed or extracted at the moment to check. Should be a good place to start though.
kieranfoy Posted March 9, 2010 Author Posted March 9, 2010 Unfortunately, that's probably only going to be helpful to someone who's a better modder than I am. Thanks anyway.
Maigrets Posted March 9, 2010 Posted March 9, 2010 Unfortunately, that's probably only going to be helpful to someone who's a better modder than I am. Thanks anyway. Scripted tokens should do it. You add the token to the NPC inventory and this forces them to use the animation you require. See here for some info:Tokens and forcing Idle Animationshttp://cs.elderscrolls.com/constwiki/index...Idle_Animations Idle Animationshttp://cs.elderscrolls.com/constwiki/index...Idle_Animations
kieranfoy Posted March 9, 2010 Author Posted March 9, 2010 Thank you. I found the animation, but the toturials don't really tell you how to use a scripted spell to force an animation. But, thanks for your help. I'll figure it our eventually.
zprospero Posted March 9, 2010 Posted March 9, 2010 Actually, it does. That's what PickIdle is for. (I admittedly thought the same thing when I read it originally) It's pretty confusing, but if an NPC hasthe right token when PickIdle gets calledon an actor it will select whatever idleanimation is appropriate. If they havethe token it will usually work. There's no way to ensure it will always work. I would love a NPCRef.PlayIdleAnim ...but PickIdle is currently the only way toget an actor to play a specific animation.
kieranfoy Posted March 9, 2010 Author Posted March 9, 2010 So, is there any way to make an NPC perfomr a specific idle animation when struck by a spell, or is it impossible? If so, how does Actors in Charge work?
Vagrant0 Posted March 9, 2010 Posted March 9, 2010 (edited) As I had tried to post last night but was prevented by an IPS error, the method to make this work probably exists in the game. Take a look at the spell scripting and the conditions for the idle animation. It could be something as simple as having an idle animation which has a condition based on just being affected by that particular spell, and a spell script which just calls a pickidle. You probably don't need to do anything else. Just because it looks complicated doesn't mean it is, you just have to be willing to take the time and look at how it was done. Edited March 9, 2010 by Vagrant0
kieranfoy Posted March 9, 2010 Author Posted March 9, 2010 I did. The conditions seem to be either 'if it's the player' or 'if the target's the victim of Relmyna's spell', but I can't make them me, or just add the scritped spell to the enchantment, because it does a whole lot of other things.
zprospero Posted March 9, 2010 Posted March 9, 2010 Somewhere in my testing plugins I think I have a targeted spellthat forces the actor (any actor) into the ascension animationand disables them. Let me see if I can find it.
Recommended Posts