enderalse/scripts/source/_00e_fs_nqr02_enabletharaelsc.psc

29 lines
902 B
Plaintext
Raw Normal View History

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