Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
27 lines
574 B
27 lines
574 B
Scriptname _00E_CQJ04_CheckTavernSC extends ObjectReference
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
If akActionRef == PlayerREF && !bDone
|
|
if CQJ04.GetStage() == 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 |