2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_NQ19_NoteSC extends ObjectReference
|
|
|
|
|
|
|
|
; This script lies on the activator _00E_NQ19_Note (a note hanging on
|
|
|
|
; some walls in Ark), which provides one way (not the only way) to
|
|
|
|
; start NQ19.
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; EVENTS
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
if akActionRef == PlayerREF
|
|
|
|
|
|
|
|
_00E_NQ19_ActivationMessage.Show()
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
if NQ19.GetCurrentStageID() < 10
|
2021-10-05 22:15:58 +00:00
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
NQ19.SetCurrentStageID(5)
|
2021-10-05 22:15:58 +00:00
|
|
|
NQ19.SetObjectiveDisplayed(5)
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
Self.GetLinkedRef().Disable()
|
|
|
|
Self.Disable()
|
|
|
|
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnUnload()
|
2024-01-10 14:08:24 +00:00
|
|
|
if NQ19.GetCurrentStageID() >= 10
|
2021-10-05 22:15:58 +00:00
|
|
|
Self.GetLinkedRef().Disable()
|
|
|
|
Self.Disable()
|
|
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; PROPERTIES
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
|
|
|
|
Message Property _00E_NQ19_ActivationMessage Auto
|
|
|
|
|
|
|
|
Quest Property NQ19 Auto
|