Scriptname _00E_FS_NQ10_Functions extends Quest Import Utility Import Game ;===================================================================================== ; FUNCTIONS ;===================================================================================== Function OpenSecretDoor() _00E_FS_NQ10_SocketActivatorREF.Disable() _00E_FS_NQ10_DoorREF.Enable() _00E_Vatyr_Shout.Play(PlayerREF) wait(0.5) _00E_FS_NQ10_Light.Enable() ShakeCamera(afStrength = 0.5) wait(2) _00E_FS_NQ10_OpenDoorM.Play(PlayerREF) wait(4) _00E_FS_NQ10_SecretDoorREF2.PlayGamebryoAnimation("Forward", true, afEaseInTime = 1.0) EndFunction ;===================================================================================== ; EVENTS ;===================================================================================== ;===================================================================================== ; PROPERTIES ;===================================================================================== Actor Property PlayerREF Auto ObjectReference Property _00E_FS_NQ10_SecretDoorREF2 Auto ObjectReference Property _00E_FS_NQ10_Light Auto ObjectReference Property _00E_FS_NQ10_SocketActivatorREF Auto ObjectReference Property _00E_FS_NQ10_DoorREF Auto Sound Property _00E_FS_NQ10_OpenDoorM Auto Sound Property _00E_Vatyr_Shout Auto