Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
946 B
25 lines
946 B
3 years ago
|
Scriptname _00E_NQ_G_02_DisplayMushroomObjective extends ObjectReference
|
||
|
|
||
|
;=====================================================================================
|
||
|
; FUNCTIONS
|
||
|
;=====================================================================================
|
||
|
Event OnTriggerEnter (ObjectReference akActionREF)
|
||
|
|
||
|
if ((akActionRef == PlayerREF) && (bDone == False)) && ((NQ_G_02.GetStage() == 20 || NQ_G_02.GetStage() == 30))
|
||
|
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
|