enderalse/scripts/source/_00e_mq07a_teleportfailsavesc.psc

19 lines
433 B
Plaintext

Scriptname _00E_MQ07a_TeleportFailsaveSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if MQ07a_PlatformActivated.GetValueInt() == 1
if akActionRef == PlayerREF
PlayerREF.MoveTo(MQ07a_FailsaveMarkerREF)
EndIf
EndIf
EndEvent
Actor Property PlayerREF Auto
GlobalVariable Property MQ07a_PlatformActivated Auto
ObjectReference Property MQ07a_FailsaveMarkerREF Auto
Quest Property MQ07a Auto