My basic plan was along the lines of this:
Event OnSpellCast(Form *spell*)
Actor caster = X.GetCasterActor()
*Stuff happens to caster*
EndEventWhere X is a number of different things I've tried putting there, from the spell ID, to the magic Effect ID, to properties, to variables. I'm not sure what I need to put there to make this work, or if I'm even on the right track to figuring out what the problem is. The problem being, I keep getting this error when I try to save:
"GetCasterActor is not a function or does not exist"
All around I've found the wiki's explanation of functions and the syntax of these functions and when to use them a bit vague and confusing. I did go over the papyrus tutorial, and think it actually left me with a rather different impression of the process than how it actually works. So if this is an entirely unhelpful explanation of my problem, I'd like to apologize in advance.
