enderalse/source/scripts/ga_00e_duesterwoodcreepscpt.psc

23 lines
600 B
Plaintext

ScriptName GA_00E_DuesterWoodCreepSCPT Extends ObjectReference
;-- Variables ---------------------------------------
;-- Properties --------------------------------------
Int Property DoOnce Auto
Sound Property WoodCreak Auto
;-- Functions ---------------------------------------
; Skipped compiler generated GetState
; Skipped compiler generated GotoState
Event OnTriggerEnter(ObjectReference akActionRef)
If (akActionRef == Game.GetPlayer() as ObjectReference) && DoOnce == 0
WoodCreak.play(Self as ObjectReference)
DoOnce = 1
Utility.Wait(15.0)
DoOnce = 0
EndIf
EndEvent