1
Fork 0
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.
 
 
 

38 lines
1.2 KiB

Scriptname _00E_VisionFXScriptNoStagger extends activemagiceffect
Event OnEffectStart(Actor akTarget, Actor akCaster)
_00E_VisionStartImod.Apply()
;Debug.SendAnimationEvent(PlayerREF, "StaggerPlayer")
PlayerREF.SetGhost(True)
;Game.DisablePlayerControls(false, true, true, false, true, false, true, false)
;Game.ForceFirstPerson()
;PlayerSpeed = PlayerREF.GetActorValue("SpeedMult")
;PlayerREF.SetActorValue("SpeedMult", 35)
PlayerREF.AddSpell(_00E_Vision_UpdateAb, False)
VisionSound = _00E_VisionLPM.Play(akTarget)
Utility.Wait(1)
_00E_VisionStartImod.PopTo(_00E_VisionIMOD)
EndEvent
Event OnEffectFinish(Actor akTarget, Actor akCaster)
PlayerREF.SetActorValue("SpeedMult", PlayerSpeed)
PlayerREF.SetGhost(False)
;Game.EnablePlayerControls()
_00E_VisionIMOD.PopTo(_00E_VisionEndImod)
Sound.StopInstance(VisionSound)
_00E_AMB_Vision_EndSoundM.Play(PlayerREF)
EndEvent
Float PlayerSpeed
int VisionSound
ImageSpaceModifier Property _00E_VisionIMOD Auto
ImageSpaceModifier Property _00E_VisionEndImod Auto
ImageSpaceModifier Property _00E_VisionStartImod Auto
Sound Property _00E_VisionLPM Auto
Actor Property PlayerREF Auto
Spell Property _00E_Vision_UpdateAb Auto
Sound Property _00E_AMB_Vision_EndSoundM Auto