Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
735 B
30 lines
735 B
Scriptname FXMG07DogScript extends ActiveMagicEffect
|
|
{Adds fx to the dog in mg07}
|
|
|
|
import utility
|
|
import form
|
|
|
|
;===============================================
|
|
|
|
ObjectReference selfRef
|
|
|
|
VisualEffect Property FXMG07DogEyeGlowEffect Auto
|
|
VisualEffect Property FXMG07DogDarkeningEffect Auto
|
|
|
|
|
|
EVENT OnEffectStart(Actor Target, Actor Caster)
|
|
selfRef = caster
|
|
FXMG07DogEyeGlowEffect.Play(selfRef, -1)
|
|
FXMG07DogDarkeningEffect.Play(selfRef, -1)
|
|
ENDEVENT
|
|
|
|
Event OnEffectFinish(Actor akTarget, Actor akCaster)
|
|
FXMG07DogEyeGlowEffect.Stop(selfRef)
|
|
FXMG07DogDarkeningEffect.Stop(selfRef)
|
|
ENDEVENT
|
|
|
|
EVENT onDying(actor myKiller)
|
|
FXMG07DogEyeGlowEffect.Stop(selfRef)
|
|
FXMG07DogDarkeningEffect.Stop(selfRef)
|
|
ENDEVENT
|
|
|