Jump to content

Detecting when spell is cast on player? (And which spell?)


Fredas

Recommended Posts

Posted

In a nutshell, I am trying to figure out how I can tell when Estrus is actively playing one of its animations on the player.  I thought I was on the right track with looking for a spell effect keyword.  The Estrus spell effects do have keywords built-in which can be looked for.  Unfortunately, either the effects immediately disappear (making it basically impossible to passively detect) or the detection system is flawed.  (HasSpellEffectWithKeyword)

 

So instead I'm going to see if there's a way to catch whenever a spell is simply cast on the player, and hopefully be told the method for parsing that event for particular spell names.  Maybe this is a method for getting things working, maybe not.  I am definitely open to suggestions.

 

Posted

 

Alright.  I've tried this, the HasSpellEffectWIthKeyword, and now also OnSpellCast.  None of them are triggering positive, when everything suggests that all three should have been.  Is there some missing blank that needs filling before these functions are able to successfully look for the spells / effects I'm pointing them to?  (Besides MagicEffect Property ___ Auto and/or Spell Property ___ Auto.)

 

I am guessing at this point that it is impossible to simply ping the player to figure out what animation they're currently in.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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