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.
 
 
 

26 lines
667 B

Scriptname _00E_NQG07_MoveDijaamToPlayerSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == PlayerREF && NQ_G_07Dijaam.IsRunning() && NQ_G_07Dijaam.GetCurrentStageID() < 80 && !bDone
bDone = True
; fixes issue 1226
If NQ_G_07Dijaam.GetCurrentStageID() < 75
NQ_G_07Dijaam.SetCurrentStageID(75)
Utility.Wait(2)
EndIf
If _00E_SC_DijaamOnelys.GetParentCell() != PlayerREF.GetParentCell()
_00E_SC_DijaamOnelys.MoveTo(PlayerREF)
EndIf
EndIf
EndEvent
bool bDone = false
Actor Property PlayerREF Auto
Actor Property _00E_SC_DijaamOnelys Auto
_00E_NQ_G_07_Functions Property NQ_G_07Dijaam Auto