2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_NQ_G_02_DisplayMushroomObjective extends ObjectReference
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; FUNCTIONS
|
|
|
|
;=====================================================================================
|
|
|
|
Event OnTriggerEnter (ObjectReference akActionREF)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
if ((akActionRef == PlayerREF) && (bDone == False)) && ((NQ_G_02.GetCurrentStageID() == 20 || NQ_G_02.GetCurrentStageID() == 30))
|
2021-10-05 22:15:58 +00:00
|
|
|
NQ_G_02.SetObjectiveDisplayed(21)
|
|
|
|
_00E_TeleportGlobal.SetValueInt(1)
|
|
|
|
bDone = True
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; PROPERTIES
|
|
|
|
;=====================================================================================
|
|
|
|
bool bDone
|
|
|
|
|
|
|
|
Actor Property PlayerRef Auto
|
|
|
|
|
|
|
|
GlobalVariable Property _00E_TeleportGlobal Auto
|
|
|
|
|
|
|
|
_00E_NQ_G_02_Functions Property NQ_G_02 Auto
|