enderalse/source/scripts/_00e_mq13b_mq13bnexus02_failsavesc.psc

29 lines
628 B
Plaintext

Scriptname _00E_MQ13b_MQ13bNexus02_FailsaveSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
If !bDone && akActionRef == PlayerREF
If bYaela && (MQ13b._00E_MC_YaelaREF.GetParentCell() != PlayerREF.GetParentCell())
MQ13b._00E_MC_YaelaREF.MoveTo(PlayerREF)
EndIf
If bRomance && (MQ13b.akCompanionRomance.GetParentCell() != PlayerREF.GetParentCell())
MQ13b.akCompanionRomance.MoveTo(PlayerREF)
EndIf
bDone = True
EndIf
EndEvent
bool bDone
bool Property bYaela Auto
bool Property bRomance Auto
_00E_MQ13b_Functions Property MQ13b Auto
Actor Property PlayerREF Auto