enderalse/source/scripts/fxsovengardescript.psc

25 lines
699 B
Plaintext
Raw Permalink Normal View History

Scriptname FXSovengardeSCRIPT extends ActiveMagicEffect
{Puts the fx on the heavenly people of sovengarde}
VisualEffect Property FXSovengardeGlowEffect Auto
EffectShader Property SovengardeFXS Auto
Actor selfRef
ObjectReference myGlow
EVENT OnEffectStart(Actor Target, Actor Caster)
selfRef = caster
2023-12-06 15:31:10 +00:00
;USKP 2.0.1 - Stop this from attaching to the player.
if( selfRef == Game.GetPlayer() )
Return
EndIf
;float myScale = selfRef.getScale()
; ;debug.trace("my scale is" + myScale)
2023-12-06 15:31:10 +00:00
;USKP 2.0.2 - Delay the effect to let 3D catch up.
Utility.Wait(1.0)
myGlow = FXSovengardeGlowEffect.play(selfRef, -1)
;myGlow.setScale(myScale)
SovengardeFXS.Play(selfRef)
EndEvent