Jump to content

[LE] Adding lines to a custom Follower


Ezarr

Recommended Posts

How are you guys. I'm making a custom voiced follower and I want to make it say "Thanks" when I use a spell on it or I give it potions, but I have no idea how.

 

Can you tell me what conditions or scripts do i need to get this working?

Edited by Ezarr
Link to comment
Share on other sites

I'd probably use a say script. I believe the vanilla healing spell has a line at the end with a say script you could use as an example if you wanted to see how it's setup. It's how vanilla npcs react to healing spells being cast on them. As far as getting it to trigger, I don't recommend making changes to the healing script or the dialogue branch it refers to for compatibility reasons, but that would be one way to do it.

 

If it were me, I'd probably add some lines to either the actor or the reference alias, like OnItemAdded or OnMagicEffectApply. Another approach might be to create a perk that reacts to spells being cast on them, with a magic effect with a similar script.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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