Background for Skyrim SE
Member of the DbSkseEvents script
eventOnEffectStartGlobal(ActorCaster, ActorTarget, MagicEffectakEffect, Formsource, intcastingSource)

Description

Documentation Comment

Like ActiveMagicEffect OnEffectStart
Triggers when the akEffect becomes active on the Target, meaning the conditions for the effect or spell evaluate to true.
Source could be a spell, enchantment, potion, ingredient ect. The magic item that applied the akEffect.
For castingSource:
;LeftHand = 0,
RightHand = 1,
Other = 2, (most likely shout)
Instant = 3


Parameters

  1. ActorCaster

  2. ActorTarget

  3. MagicEffectakEffect

  4. Formsource

  5. intcastingSource


Examples

Auto-Generated Example

Scriptname MyCoolScript extends DbSkseEvents

event OnEffectStartGlobal(Actor Caster, Actor Target, MagicEffect akEffect, Form source, int castingSource)
    Debug.trace("Event received - OnEffectStartGlobal: Caster = " + Caster + " Target = " + Target + " akEffect = " + akEffect + " source = " + source + " castingSource = " + castingSource)
endEvent
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.