4
Fork 0
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.
 
 
 

35 lines
753 B

Scriptname _00E_MQ02_D3_AlfridBenchScript extends ObjectReference
Import Utility
Event OnActivate(ObjectReference akActionRef)
if (akActionRef == PlayerREF) && (MQ02.GetCurrentStageID() == 45)
if (Alfrid.GetActorReference().GetSitState() == 3)
Wait(2)
MQ02.SetCurrentStageID(47)
Else
RegisterForSingleUpdate(1)
EndIf
EndIf
EndEvent
Event OnUpdate()
if (Alfrid.GetActorReference().GetSitState() == 3)
If (PlayerREF.GetSitState() == 3)
MQ02.SetCurrentStageID(47)
Elseif (PlayerREF.GetSitState() == 2)
Wait(1.5)
MQ02.SetCurrentStageID(47)
Else
MQ02.SetCurrentStageID(47)
EndIf
Else
RegisterForSingleUpdate(1)
EndIf
EndEvent
Actor Property PlayerREF Auto
Quest Property MQ02 Auto
ReferenceAlias Property Alfrid Auto