Jump to content

Dummy spell to get OnEquipped event ?


larphoid

Recommended Posts

Hi,

 

I'm trying to get the OnEquipped event for a custom spell (that doesn't realy have to do anything, hence dummy).

So far, I'm able to get the OnEffectStart event through the magic effect attached to the spell and perform the actions I want, but my intention is to do those actions in the OnEquipped event, which I'm not getting.

At the moment the spell is a 'Lesser Power', but it's a dummy so it could be anything if that would help.

I've also made a quest and created an alias for the spell, and in the OnInit of the quest script I add the spell to the player. Also tried to get OnEquipped and OnSpellCast in the alias script, but they aren't fireing there either.

 

Am I missing something, or is it just not possible to get OnEquipped for a spell ?

 

Any help would be much appreciated.

 

 

Thanks.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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