2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_NQ10_ElfrideActivator Extends ObjectReference
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
If akActionRef != PlayerREF || bActivateLocked
|
|
|
|
Return
|
|
|
|
EndIf
|
|
|
|
bActivateLocked = True
|
|
|
|
|
|
|
|
FSTWoodRunL_Loud.Play(Self)
|
|
|
|
Utility.Wait(0.6)
|
|
|
|
FSTWoodRunL_Loud.Play(Self)
|
|
|
|
Utility.Wait(0.7)
|
|
|
|
FSTWoodRunL_Loud.Play(Self)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
If NQ10_Elfride.GetCurrentStageID() == 15
|
2021-10-05 22:15:58 +00:00
|
|
|
If Vatyr.IsDead()
|
2024-01-10 14:08:24 +00:00
|
|
|
NQ10_Elfride.SetCurrentStageID(20)
|
2021-10-05 22:15:58 +00:00
|
|
|
Disable()
|
|
|
|
Else
|
|
|
|
_00E_NQ10_sElfriedeDoesNotTrust.Show()
|
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
bActivateLocked = False
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
|
|
|
|
Message Property _00E_NQ10_sElfriedeDoesNotTrust Auto
|
|
|
|
|
|
|
|
Quest Property NQ10_Elfride Auto
|
|
|
|
Actor Property Vatyr Auto
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
Sound Property FSTWoodRunL_Loud Auto
|
|
|
|
|
|
|
|
Bool bActivateLocked = False
|