30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
ScriptName _00E_MQ13c_SC03_FailsaveSC Extends ObjectReference
|
|
|
|
;-- Variables ---------------------------------------
|
|
|
|
;-- Properties --------------------------------------
|
|
Sound Property AMBrCivilWarCatapultsDistantM Auto
|
|
ObjectReference Property MQ13b_NexusDoor Auto
|
|
blackreachdoorscript Property MQ13b_SC09_HiddenStairs Auto
|
|
_00e_mq13c_functions Property MQ13c Auto
|
|
Actor Property PlayerREF Auto
|
|
|
|
;-- Functions ---------------------------------------
|
|
|
|
; Skipped compiler generated GetState
|
|
|
|
; Skipped compiler generated GotoState
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
If akActionRef == PlayerREF as ObjectReference
|
|
If MQ13c.GetStage() == 20
|
|
MQ13b_SC09_HiddenStairs.PlayAnimation("down")
|
|
MQ13b_NexusDoor.BlockActivation(True)
|
|
_00E_Debug.PrintMessage("Failsave MQ13c called, stair should open.")
|
|
MQ13c.akCompanionRomance.MoveTo(PlayerREF as ObjectReference, 0.0, 0.0, 0.0, True)
|
|
AMBrCivilWarCatapultsDistantM.Play(PlayerREF as ObjectReference)
|
|
Self.Delete()
|
|
EndIf
|
|
EndIf
|
|
EndEvent
|