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.
 
 
 

48 lines
1.2 KiB

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()
if NQ19.GetCurrentStageID() < 10
NQ19.SetCurrentStageID(5)
NQ19.SetObjectiveDisplayed(5)
endif
Self.GetLinkedRef().Disable()
Self.Disable()
EndIf
EndEvent
Event OnUnload()
if NQ19.GetCurrentStageID() >= 10
Self.GetLinkedRef().Disable()
Self.Disable()
EndIf
EndEvent
;=====================================================================================
; PROPERTIES
;=====================================================================================
Actor Property PlayerREF Auto
Message Property _00E_NQ19_ActivationMessage Auto
Quest Property NQ19 Auto