enderalse/source/scripts/_00e_portnpctoplayerfailsavesc.psc

21 lines
448 B
Plaintext

Scriptname _00E_PortNPCToPlayerFailsaveSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == PlayerREF
If QuestToSet.GetCurrentStageID() == __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