2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ02_D3_AlfridBenchScript extends ObjectReference
|
|
|
|
|
|
|
|
Import Utility
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
if (akActionRef == PlayerREF) && (MQ02.GetCurrentStageID() == 45)
|
2021-10-05 22:15:58 +00:00
|
|
|
if (Alfrid.GetActorReference().GetSitState() == 3)
|
|
|
|
Wait(2)
|
2024-01-10 14:08:24 +00:00
|
|
|
MQ02.SetCurrentStageID(47)
|
2021-10-05 22:15:58 +00:00
|
|
|
Else
|
|
|
|
RegisterForSingleUpdate(1)
|
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnUpdate()
|
|
|
|
if (Alfrid.GetActorReference().GetSitState() == 3)
|
|
|
|
If (PlayerREF.GetSitState() == 3)
|
2024-01-10 14:08:24 +00:00
|
|
|
MQ02.SetCurrentStageID(47)
|
2021-10-05 22:15:58 +00:00
|
|
|
Elseif (PlayerREF.GetSitState() == 2)
|
|
|
|
Wait(1.5)
|
2024-01-10 14:08:24 +00:00
|
|
|
MQ02.SetCurrentStageID(47)
|
2021-10-05 22:15:58 +00:00
|
|
|
Else
|
2024-01-10 14:08:24 +00:00
|
|
|
MQ02.SetCurrentStageID(47)
|
2021-10-05 22:15:58 +00:00
|
|
|
EndIf
|
|
|
|
Else
|
|
|
|
RegisterForSingleUpdate(1)
|
|
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
Quest Property MQ02 Auto
|
|
|
|
ReferenceAlias Property Alfrid Auto
|