enderalse/source/scripts/_00e_nq23_triggerboxpahtirafailsafe.psc

17 lines
507 B
Plaintext

Scriptname _00E_NQ23_TriggerboxPahtiraFailsafe extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if NQ23.GetCurrentStageID() == 50 && !DoOnce && akActionRef == PlayerREF && !(MuldirRef.GetParentCell() == PlayerREF.GetParentCell())
MuldirRef.MoveTo(NQ23PortMarker)
MuldirRef.EvaluatePackage()
DoOnce = true
endif
EndEvent
bool DoOnce = false
ObjectReference Property NQ23PortMarker Auto
Actor Property MuldirRef Auto
Actor Property PlayerREF Auto
Quest Property NQ23 auto