|
|
@ -26,7 +26,7 @@ EndEvent |
|
|
|
|
|
|
|
|
|
|
|
Function SendEnterEvent() |
|
|
|
Function SendEnterEvent() |
|
|
|
|
|
|
|
|
|
|
|
if (CurrentQuest.GetStage() >= ValidStageMin ) && (CurrentQuest.GetStage() < ValidStageMax ) |
|
|
|
if (CurrentQuest.GetCurrentStageID() >= ValidStageMin ) && (CurrentQuest.GetCurrentStageID() < ValidStageMax ) |
|
|
|
|
|
|
|
|
|
|
|
bool bWasZero |
|
|
|
bool bWasZero |
|
|
|
|
|
|
|
|
|
|
@ -62,13 +62,11 @@ Function SendEnterEvent() |
|
|
|
|
|
|
|
|
|
|
|
EndIf |
|
|
|
EndIf |
|
|
|
|
|
|
|
|
|
|
|
Return |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EndFunction |
|
|
|
EndFunction |
|
|
|
|
|
|
|
|
|
|
|
Function SendExitEvent() |
|
|
|
Function SendExitEvent() |
|
|
|
|
|
|
|
|
|
|
|
If (CurrentQuest.GetStage() >= ValidStageMin) && (CurrentQuest.GetStage() < ValidStageMax ) |
|
|
|
If (CurrentQuest.GetCurrentStageID() >= ValidStageMin) && (CurrentQuest.GetCurrentStageID() < ValidStageMax ) |
|
|
|
|
|
|
|
|
|
|
|
If InTrigger == True |
|
|
|
If InTrigger == True |
|
|
|
TravelStateVariable.SetValue((TravelStateVariable.GetValue() - 1)) |
|
|
|
TravelStateVariable.SetValue((TravelStateVariable.GetValue() - 1)) |
|
|
@ -96,8 +94,6 @@ Function SendExitEvent() |
|
|
|
EndIf |
|
|
|
EndIf |
|
|
|
|
|
|
|
|
|
|
|
Endif |
|
|
|
Endif |
|
|
|
|
|
|
|
|
|
|
|
Return |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EndFunction |
|
|
|
EndFunction |
|
|
|
|
|
|
|
|
|
|
|