enderalse/scripts/source/_00e_a2_eyeofthestormselfsc.psc

40 lines
1.1 KiB
Plaintext

Scriptname _00E_A2_EyeOfTheStormSelfSC extends activemagiceffect
Import _00E_TalentLibrary
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnEffectStart(Actor Target, Actor Caster)
KillMove.SetValueInt(0)
AudioCategoryPausedDuringMenu.Mute()
_00E_A2_EyeOfTheStormIMOD.Apply()
EndEvent
Event OnEffectFinish(Actor akTarget, Actor akCaster)
If Utility.GetINIBool("bVATSDisable:VATS") == 0
KillMove.SetValueInt(1)
EndIf
_00E_A2_EyeOfTheStormIMOD.Remove()
AudioCategoryPausedDuringMenu.UnMute()
EndEvent
;=====================================================================================
; PROPERTIES
;=====================================================================================
ImagespaceModifier Property _00E_A2_EyeOfTheStormIMOD Auto
Actor Property PlayerREF Auto
SoundCategory Property AudioCategoryPausedDuringMenu Auto
GlobalVariable Property KillMove Auto