34 lines
985 B
Plaintext
34 lines
985 B
Plaintext
Scriptname _00E_MQ14_ReminderFailsaveSC extends ObjectReference
|
|
|
|
; Script on triggerbox _00E_MQ14_MoveCompanionTGBX. This is not
|
|
; just a failsave any more. It has two effects:
|
|
; 1) Fix http://sureai.net:9898/projects/ERB/issues/ERB-92 by
|
|
; ensuring that the "waiting for the star map to be deciphered"
|
|
; actually ends. (This is the failsave part.)
|
|
; 2) Set the stage of MQ14 to 10, thus moving the player's dedicated
|
|
; companion to the Suntemple.
|
|
|
|
Event OnTriggerEnter (ObjectReference akActionREF)
|
|
|
|
if akActionRef == PlayerREF
|
|
if MQ14.GetStage() == 5
|
|
bool b = MQ14.ReminderFailsave()
|
|
if b
|
|
MQ14.SetStage(10)
|
|
Disable()
|
|
endif
|
|
endif
|
|
if _00E_MQ14_Readyfor10.GetValue() == 1
|
|
MQ14.SetStage(10)
|
|
Disable()
|
|
endif
|
|
endif
|
|
|
|
EndEvent
|
|
|
|
_00E_MQ14_Functions Property MQ14 Auto
|
|
|
|
ObjectReference Property PlayerREF Auto
|
|
|
|
GlobalVariable Property _00E_MQ14_Readyfor10 Auto
|