I am trying to add spells to my module. The basic concepts are fine, but some specifics seem to be outside of what I conceived them to be. This is script-related trouble, but I posted here since it's custom content, and may have to do with a file setup for all I know.
The script I have been testing the method of introduction with is pretty straightforward. I had a placeholder CONSTANT until I read that I don't need a constant - my next move was to go ahead and add a line for it in spells.2da and stick that in the override folder. Then, I restarted the toolset to see if the script compiled. What I keep getting is this:
ERROR: UNDEFINED IDENTIFIER (GetSpellID)
Which points to the line:
SignalEvent(oTarget, EventSpellCastAt(OBJECT_SELF, GetSpellID()));
Now, I've consulted scripts on a custom module for this syntax, so I don't understand what is wrong now that the spell indeed has a 2da line to identify it by. If anyone knows what's up, please let me know!