Scriptname cmcinnis_Script_VoicePowerCast extends ReferenceAliasEvent OnInit() RegisterForSingleUpdate(1)EndEventEvent OnUpdate() Debug.Notification("Hello world.") RegisterForSingleUpdate(4)EndEventEvent OnSpellCast(Form akSpell) Debug.Notification("Spell cast.")EndEvent
The OnInit() and OnUpdate() functions are properly called and I get the "Hello world." message every 4 seconds on the screen. The problem is the OnSpellCast() function isn't being called when I cast a spell or voice power. I'm not sure if I need to register for the event somehow like I do for the updates or not.