OnStoryCastMagic - Quest

Member of: Quest Script

Event called when this quest is started via a cast magic story manager event.

SyntaxEdit

Event OnStoryCastMagic(ObjectReference akCastingActor, ObjectReference akSpellTarget, Location akLocation, Form akSpell)

ParametersEdit

  • akCastingActor: The ObjectReference that cast the spell.
  • akSpellTarget: The ObjectReference that is targeted by the spell.
  • akLocation: The Location the spell was cast.
  • akSpell: The spell that was cast.

ExamplesEdit

Event OnStoryCastMagic(ObjectReference akCastingActor, ObjectReference akSpellTarget, Location akLocation, Form akSpell)
  Debug.Trace(akSpell + " was cast by " + akCastingActor + " at " + akSpellTarget)
endEvent

NotesEdit

  • akSpellTarget always returns none.

See AlsoEdit