- Found in:
- Dylbills PE
voidfunctionDispelMagicEffectOnRef(ObjectReferenceref, MagicEffectakMagicEffect, FormmagicSource=NONE)NativeGlobal
Description
Documentation Comment
if magicSource is not none, only dispels effects that come from the magicSource (spell, shout, potion ect)
Otherwise, dispels all activeMagicEffects that match the akMagicEffect
Caveats
Parameters
Examples
Auto-Generated Example
ObjectReference myObjectReference__ref
MagicEffect myMagicEffect__akMagicEffect
Form myForm__magicSource
DbSkseFunctions.DispelMagicEffectOnRef(myObjectReference__ref, myMagicEffect__akMagicEffect, myForm__magicSource)