4
Fork 0
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.
 
 
 

17 lines
601 B

Scriptname _00E_NQ23_TriggerboxObjectiveUpdate extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if (NQ23.GetCurrentStageID() == 20 || NQ23.GetCurrentStageID() == 21) && _bDoOnce == false && akActionRef == PlayerREF && NQ23.IsObjectiveDisplayed(_iDisplayedObjective)
NQ23.SetObjectiveCompleted(_iDisplayedObjective, true)
NQ23.SetObjectiveDisplayed(_iObjectiveToActivate, true)
_bDoOnce = true
endif
EndEvent
bool _bDoOnce = false
int Property _iDisplayedObjective Auto
int Property _iObjectiveToActivate Auto
Actor Property PlayerREF Auto
Quest Property NQ23 auto