enderalse/source/scripts/_00e_nq_g_06_playerlocationchanged.psc

22 lines
497 B
Plaintext
Raw Normal View History

Scriptname _00E_NQ_G_06_PlayerLocationChanged extends ReferenceAlias
Event OnLocationChange(Location akOldLoc, Location akNewLoc)
If NQ_G_06.GetStage() == 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