Ezarr Posted December 14, 2018 Share Posted December 14, 2018 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 More sharing options...
TheWormpie Posted December 14, 2018 Share Posted December 14, 2018 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 More sharing options...
Ezarr Posted December 14, 2018 Author Share Posted December 14, 2018 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 More sharing options...
TheWormpie Posted December 15, 2018 Share Posted December 15, 2018 No problem :) Link to comment Share on other sites More sharing options...
Recommended Posts