enderalse/source/scripts/_00e_nq23_triggerboxpahtirafailsafe.psc

17 lines
507 B
Plaintext
Raw Permalink Normal View History

Scriptname _00E_NQ23_TriggerboxPahtiraFailsafe extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
2024-01-10 14:08:24 +00:00
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