Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
628 B
29 lines
628 B
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 |