Aller au contenu

Photo

Script Triggered by Spellcasting


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Ralthis

Ralthis
  • Members
  • 55 messages
Hi all,

I am trying to figure out a way to execute a script every time a player casts a spell. Unfortunately, I have no idea how to do it since there' nowhere I can find in the module events for, say, OnPlayerSpellCast. The closest I've found is the OnSpellCastAt script slot for a creature...and that won't work becaust I want the script to fire whenever a player casts a spell, not just when they cast it at a creature.

Is there something I'm missing in the toolset that will let me do this?

#2
Shadooow

Shadooow
  • Members
  • 4 470 messages
http://www.nwnlexico...ll-hooking.html

#3
Ralthis

Ralthis
  • Members
  • 55 messages
Thank you!