Jump to content

[LE] Custom Dialogue lines when follower is using spells


Ezarr

Recommended Posts

Hi there,


I want to make my follower say some specific dialogue lines when its using magic spells, you know like "falcon punch!" and stuff like that. I've benn trying with these conditions in the dialogues:


-HasSpell

-HasEquippedSpell

-IsCurrentSpell

-SpellHasKeyword


But none of that is working. Does someone knows how to get this to work? By the way, I'm using the combat dialogue tab for the lines.

Link to comment
Share on other sites

Using the Combat Tab, I'd use the Attack subtype and/or Taunt subtype with the SpellHasKeyword condition (since according the the wiki, HasEquippedSpell and IsCurrentSpell don't work as conditions) if possible.

 

Otherwise, if it's a custom spell you want to detect, just throw a scripted magic effect on the spell itself, which will make the actor Say() a specific topic (or choose between a number of different topics) whenever she uses that spell. If going by this method, you might want to somehow make sure that the actor is not already speaking when Say() is called. For instance, have a look at IsTalking and it's discussion page.

Link to comment
Share on other sites

Using the Combat Tab, I'd use the Attack subtype and/or Taunt subtype with the SpellHasKeyword condition (since according the the wiki, HasEquippedSpell and IsCurrentSpell don't work as conditions) if possible.

 

It worked. Looks like when you are dealing with magic attacks, you should place the dialogue lines under Taunt subtype using SpellHasKeyword. Attack subtype seems to only work with melee attacks. Thanks man, you saved me again.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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