2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_CQJ02_PlayerSC Extends ReferenceAlias
|
|
|
|
|
|
|
|
Event OnInit()
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
If CQJ02.GetCurrentStageID() == 5 && !bDone
|
2021-10-05 22:15:58 +00:00
|
|
|
Actor Player = Game.GetPlayer()
|
|
|
|
If (Player.GetCurrentLocation() == CapitalCityLocation || Player.GetCurrentLocation() == _00E_SuntempleLocation) && (!Player.GetWorldspace() != Akropolis && !(Player.IsInInterior()))
|
|
|
|
CQJ02.SpawnMessengerKid()
|
|
|
|
bDone = True
|
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnLocationChange(Location akOldLoc, Location akNewLoc)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
If CQJ02.GetCurrentStageID() == 5 && !bDone
|
2021-10-05 22:15:58 +00:00
|
|
|
Actor Player = Game.GetPlayer()
|
|
|
|
If (akNewLoc == CapitalCityLocation || akNewLoc == _00E_SuntempleLocation) && (Player.GetWorldspace() != Akropolis && !(Player.IsInInterior()))
|
|
|
|
CQJ02.SpawnMessengerKid()
|
|
|
|
bDone = True
|
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
bool bDone
|
|
|
|
|
|
|
|
Location Property CapitalCityLocation Auto
|
|
|
|
Location Property _00E_SuntempleLocation Auto
|
|
|
|
Worldspace Property Akropolis Auto
|
|
|
|
|
|
|
|
_00E_CQJ02_Functions Property CQJ02 Auto
|