enderalse/source/scripts/_00e_cqj04_checktavernsc.psc

27 lines
583 B
Plaintext

Scriptname _00E_CQJ04_CheckTavernSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == PlayerREF && !bDone
if CQJ04.GetCurrentStageID() == 10
Utility.Wait(6)
if bIsFalseDog
CQJ04.bCheckedFalseDog = True
CQJ04.SetObjectiveCompleted(15)
ElseIf bIsFatLeor
CQJ04.bCheckedFatLeor = True
CQJ04.SetObjectiveCompleted(10)
EndIf
bDone = true
EndIf
EndIf
EndEvent
bool bDone
bool Property bIsFalseDog Auto
bool Property bIsFatLeor Auto
Actor Property PlayerREF Auto
_00E_CQJ04_Functions Property CQJ04 Auto