Background for Starfield
Member of the Quest script
eventOnStoryCastMagic(ObjectReferenceakCastingActor, ObjectReferenceakSpellTarget, LocationakLocation, FormakSpell)


Parameters

ObjectReferenceakCastingActor

ObjectReferenceakSpellTarget

LocationakLocation

FormakSpell


Examples

Auto-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
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.