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.
33 lines
636 B
33 lines
636 B
3 years ago
|
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
|