Jump to content

Detect specific MagicEffects on ReferenceAlias


blabla11

Recommended Posts

Posted

I'm trying to detect if anyone/thing has cast a Fear spell on an NPC held in a ReferenceAlias.
I know I can use Event ObjectReference.OnMagicEffectApply(ObjectReference akCaster, MagicEffect akEffect), but the API on MagicEffect Script has me stumped as to how exactly I can extract the information I need from it, specifically if the Effect Archetype is Demoralize.

 

I'd like to not check ActorValue(Confidence) since that might kick in without an actual spell.

Archived

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

  • Recently Browsing   0 members

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