enderalse/scripts/source/_00e_portnpctoplayerfailsavesc.psc

21 lines
439 B
Plaintext

Scriptname _00E_PortNPCToPlayerFailsaveSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == PlayerREF
If QuestToSet.GetStage() == __Config_iRequiredStage
Companion.GetReference().MoveTo(PlayerREF)
Self.Delete()
EndIf
EndIf
EndEvent
int Property __Config_iRequiredStage Auto
Quest Property QuestToSet Auto
Actor Property PlayerREF Auto
ReferenceAlias Property Companion Auto