22 lines
506 B
Plaintext
22 lines
506 B
Plaintext
Scriptname _00E_NQ_G_06_PlayerLocationChanged extends ReferenceAlias
|
|
|
|
Event OnLocationChange(Location akOldLoc, Location akNewLoc)
|
|
|
|
If NQ_G_06.GetCurrentStageID() == 5
|
|
|
|
If NQG06_ReadyToSpawn == NONE
|
|
NQG06_ReadyToSpawn = Game.GetFormFromFile(0x0003AC60, "Skyrim.esm") as GlobalVariable
|
|
EndIf
|
|
|
|
If NQG06_ReadyToSpawn.GetValueInt() == 1
|
|
NQ_G_06.PlaceMessenger()
|
|
EndIf
|
|
EndIf
|
|
|
|
endEvent
|
|
|
|
bool bDone
|
|
|
|
GlobalVariable Property NQG06_ReadyToSpawn Auto
|
|
|
|
_00E_NQ_G_06_Functions Property NQ_G_06 Auto |