Jump to content

[LE] Papyrus and Dialogue


kev584

Recommended Posts

I'm working on a voiced follower and I'm trying to find a way for them to detect being on fire as a "hit" dialogue option and then say their correlated line. They also have another line than when they say it randomly I want them to turn invisible for a brief amount of time. Are either of these possible through scripting and/or dialogue conditions?

Link to comment
Share on other sites

I'm working on a voiced follower and I'm trying to find a way for them to detect being on fire as a "hit" dialogue option and then say their correlated line. They also have another line than when they say it randomly I want them to turn invisible for a brief amount of time. Are either of these possible through scripting and/or dialogue conditions?

I'm not completely sure but I believe you can use GetEquipped/GetSpellEqupped and set it to run on combatTarget then have it so that it is Fireball01, OR Flames etc... which should work.

 

For the part about invisibility, after they say the line you would need a script to either force them to cast an invisibility spell, or set their alpha low enough so they appear faded out.

Link to comment
Share on other sites

HasMagicEffectKeyword is a more universal solution; as long as the effect is appropriately keyworded you can find it, which means you don't need to list every single fire effect in the game (of which there are a huge number) and will work with mod and DLC added effects as well.

Link to comment
Share on other sites

HasMagicEffectKeyword is a more universal solution; as long as the effect is appropriately keyworded you can find it, which means you don't need to list every single fire effect in the game (of which there are a huge number) and will work with mod and DLC added effects as well.

I'll give this a shot, thanks!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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