enderalse/source/scripts/_00e_fs_nqr04_playerspawnmessengersc.psc

33 lines
636 B
Plaintext

Scriptname _00E_FS_NQR04_PlayerSpawnMessengerSC extends ReferenceAlias
Event OnInit()
If FS_NQR04.GetStage() == 5 && !bDone
If (PlayerREF.GetCurrentLocation() == _00E_UEMAsterLocation)
FS_NQR04.SpawnMessengerKid()
EndIf
EndIf
EndEvent
Event OnLocationChange(Location akOldLoc, Location akNewLoc)
If FS_NQR04.GetStage() == 5
If akNewLoc == _00E_UEMAsterLocation
FS_NQR04.SpawnMessengerKid()
bDone = True
EndIf
EndIf
EndEvent
bool bDone
Actor Property PlayerREF Auto
Location Property _00E_UEMAsterLocation Auto
Scene Property FS_NQR04_SC01_Messenger Auto
_00E_FS_NQR04_Functions Property FS_NQR04 Auto