enderalse/scripts/source/_00e_nq10_elfrideactivator.psc

36 lines
732 B
Plaintext
Raw Normal View History

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)
If NQ10_Elfride.GetStage() == 15
If Vatyr.IsDead()
NQ10_Elfride.SetStage(20)
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