Jump to content

Simple Scrpit Request


kieranfoy

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 Animations

http://cs.elderscrolls.com/constwiki/index...Idle_Animations

 

Idle Animations

http://cs.elderscrolls.com/constwiki/index...Idle_Animations

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 has

the right token when PickIdle gets called

on an actor it will select whatever idle

animation is appropriate. If they have

the 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 to

get an actor to play a specific animation.

Link to comment
Share on other sites

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 by Vagrant0
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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