enderalse/scripts/source/_00e_fs_nqr05_doorcombatsc.psc

31 lines
583 B
Plaintext

Scriptname _00E_FS_NQR05_DoorCombatSC extends ObjectReference
event onInit()
self.BlockActivation()
EndEvent
Event OnActivate(ObjectReference akActionRef)
if akActionRef == PlayerREF
if PlayerREF.IsInCombat()
_00E_FS_NQR05_TempleShockIMOD.Apply()
_00E_FS_NQR05_RoarM.Play(akActionRef)
Game.ShakeCamera(Self, afStrength = 0.5, afDuration = 4.0)
else
Self.Activate(akActionRef, True)
endif
EndIf
EndEvent
Actor Property PlayerREF Auto
Sound Property _00E_FS_NQR05_RoarM Auto
ImageSpaceModifier Property _00E_FS_NQR05_TempleShockIMOD Auto