2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ10a_SetUpSC extends ObjectReference
|
|
|
|
|
|
|
|
; Script on the triggerbox _00E_MQ10a_SetUpTGBX that helps start up
|
|
|
|
; the father scene in MQ10a.
|
|
|
|
|
|
|
|
; Removed, since it failed to fix
|
|
|
|
; http://sureai.net:9898/projects/ERB/issues/ERB-6
|
|
|
|
; but created the new bug
|
|
|
|
; http://sureai.net:9898/projects/ERB/issues/ERB-204 .
|
|
|
|
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
; if akActionRef == PlayerREF
|
2024-01-10 14:08:24 +00:00
|
|
|
; if MQ10a.GetCurrentStageID() == 5 && !bDone
|
2021-10-05 22:15:58 +00:00
|
|
|
; bDone = True
|
|
|
|
; MQ10a.SetUpSceneForReal()
|
|
|
|
; endif
|
|
|
|
; EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
bool bDone = false
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
|
|
|
|
_00E_MQ10a_Functions Property MQ10a Auto
|