29 lines
902 B
Plaintext
29 lines
902 B
Plaintext
Scriptname _00E_FS_NQR02_EnableTharaelSC extends ObjectReference
|
|
|
|
;=====================================================================================
|
|
; EVENTS
|
|
;=====================================================================================
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
if !bDone && akActionRef == PlayerREF && FS_NQR02.IsRunning() && !FS_NQR02.IsCompleted()
|
|
|
|
if !FS_NQR02_TharaelREF.IsDisabled()
|
|
bDone = True
|
|
FS_NQR02_TharaelREF.Enable()
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
;=====================================================================================
|
|
; PROPERTIES
|
|
;=====================================================================================
|
|
|
|
bool bDone
|
|
|
|
Actor Property PlayerREF Auto
|
|
Actor Property FS_NQR02_TharaelREF Auto
|
|
|
|
Quest Property FS_NQR02 Auto |