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
;		if MQ10a.GetStage() == 5 && !bDone
;            bDone = True
;            MQ10a.SetUpSceneForReal()
;		endif
;	EndIf
	
EndEvent

bool bDone = false

Actor Property PlayerREF Auto

_00E_MQ10a_Functions Property MQ10a Auto