4
Fork 0
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.
 
 
 

33 lines
925 B

Scriptname _00E_CQJ02_PlayerSC Extends ReferenceAlias
Event OnInit()
If CQJ02.GetStage() == 5 && !bDone
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)
If CQJ02.GetStage() == 5 && !bDone
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