Background for Skyrim SE
Member of the DbSkseEvents script

Description

Documentation Comment

Event sent when an ObjectReference casts a spell. Source could be a spell, enchantment, potion or ingredient.


Parameters

  1. ObjectReferenceCaster

  2. FormSource


Examples

Auto-Generated Example

Scriptname MyCoolScript extends DbSkseEvents

event OnSpellCastGlobal(ObjectReference Caster, Form Source)
    Debug.trace("Event received - OnSpellCastGlobal: Caster = " + Caster + " Source = " + Source)
endEvent
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.