Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
23 lines
600 B
23 lines
600 B
4 months ago
|
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
|