enderalse/source/scripts/_00e_fs_nqr05_doorsc.psc

21 lines
499 B
Plaintext

Scriptname _00E_FS_NQR05_DoorSC extends ObjectReference
event onInit()
self.BlockActivation()
EndEvent
Event OnActivate(ObjectReference akActionRef)
if akActionRef == Game.GetPlayer()
Self.GetLinkedRef().Activate(akActionRef)
_00E_FS_NQR05_TempleShockIMOD.Apply()
_00E_FS_NQR05_RoarM.Play(akActionRef)
Game.ShakeCamera(Self, afStrength = 0.5, afDuration = 4.0)
EndIf
EndEvent
Sound Property _00E_FS_NQR05_RoarM Auto
ImageSpaceModifier Property _00E_FS_NQR05_TempleShockIMOD Auto