enderalse/source/scripts/sf_mq16_sc12_numinos_001486a5.psc

84 lines
1.8 KiB
Plaintext

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 21
Scriptname SF_MQ16_SC12_Numinos_001486A5 Extends Scene Hidden
;BEGIN FRAGMENT Fragment_11
Function Fragment_11()
;BEGIN CODE
Game.EnablePlayerControls()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_6
Function Fragment_6()
;BEGIN CODE
MQ16.AddNuminosMusic()
Game.SetHudCartMode(True)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_14
Function Fragment_14()
;BEGIN CODE
; Failsave for the case that the player has blocked the way
; for Yuslan and/or Tealor.
if _00E_MC_Yuslan.GetDistance(MQ16_SC12_YuslanStartREF003) > 160
_00E_MC_Yuslan.MoveTo(MQ16_SC12_YuslanStartREF003)
_00E_MC_Yuslan.Disable()
_00E_MC_Yuslan.Enable()
endif
if _00E_MC_TealorRef.GetDistance(MQ16_SC12_YuslanStartREF004) > 160
_00E_MC_TealorRef.MoveTo(MQ16_SC12_YuslanStartREF004)
_00E_MC_TealorRef.Disable()
_00E_MC_TealorRef.Enable()
endif
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_1
Function Fragment_1()
;BEGIN CODE
MQ16.GetUpEveryone()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_2
Function Fragment_2()
;BEGIN CODE
GetOwningQuest().SetCurrentStageID(150)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_5
Function Fragment_5()
;BEGIN CODE
GetOwningQuest().SetCurrentStageID(160)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_4
Function Fragment_4()
;BEGIN CODE
MQ16.YuslanTeleport()
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
_00E_MQ16_Functions Property MQ16 Auto
Actor Property _00E_MC_Yuslan Auto
ObjectReference Property MQ16_SC12_YuslanStartREF003 Auto
ObjectReference Property MQ16_SC12_YuslanStartREF004 Auto
Actor Property _00E_MC_TealorREF Auto