- Found in:
- Dylbills PE
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
ActorCaster
ActorTarget
MagicEffectakEffect
Formsource
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