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.
25 lines
598 B
25 lines
598 B
Scriptname _00E_MQ11a_CaliaCastleFailsaveSC extends ObjectReference
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
if akActionRef == PlayerREF
|
|
if MQ11a.GetStage() >= 80 && MQ11a.GetStage() < 150
|
|
; if MQ11a_TravelState02.GetValueInt() > 1
|
|
; MQ11a_TravelState02.SetValueInt(1)
|
|
; EndIf
|
|
|
|
If _00E_MC_CaliaREF.GetParentCell() == PlayerREF.GetParentCell()
|
|
_00E_MC_CaliaREF.MoveTo(PlayerREF)
|
|
EndIf
|
|
|
|
EndIf
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
GlobalVariable Property MQ11a_TravelState02 Auto
|
|
|
|
Actor Property _00E_MC_CaliaREF Auto
|
|
Actor Property PlayerREF Auto
|
|
|
|
Quest Property MQ11a Auto |