4
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.
 
 
 

31 lines
583 B

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