eventOnStoryCastMagic(ObjectReferenceakCastingActor, ObjectReferenceakSpellTarget, LocationakLocation, FormakSpell)
Description
Wiki Description
Event called when this quest is started via a cast magic story manager event.
Caveats
CK Wiki - Notes
- akSpellTarget always returns none.
Parameters
Examples
Event OnStoryCastMagic(ObjectReference akCastingActor, ObjectReference akSpellTarget, Location akLocation, Form akSpell)
Debug.Trace(akSpell + " was cast by " + akCastingActor + " at " + akSpellTarget)
endEventAuto-Generated Example
Scriptname MyCoolScript extends Quest
event OnStoryCastMagic(ObjectReference akCastingActor, ObjectReference akSpellTarget, Location akLocation, Form akSpell)
Debug.trace("Event received - OnStoryCastMagic: akCastingActor = " + akCastingActor + " akSpellTarget = " + akSpellTarget + " akLocation = " + akLocation + " akSpell = " + akSpell)
endEvent