enderalse/source/scripts/_00e_mq13c_sc10_opencapsulesc.psc

22 lines
575 B
Plaintext

Scriptname _00E_MQ13c_SC10_OpenCapsuleSC extends ObjectReference
Event OnActivate(ObjectReference akActionRef)
If !bIsOpen
bIsOpen = True
_00E_Capsule_Open_SDM.Play(Self)
Else
_00E_Capsule_Close_SDM.Play(Self)
EndIf
EndEvent
;=====================================================================================
; PROPERTIES
;=====================================================================================
bool bIsOpen
Sound Property _00E_Capsule_Close_SDM Auto
Sound Property _00E_Capsule_Open_SDM Auto