enderalse/source/scripts/_00e_mq11c_getryneussc.psc

32 lines
742 B
Plaintext

Scriptname _00E_MQ11c_GetRyneusSC extends ObjectReference
Event OnUpdate()
If (MQ11c.GetStage() == 175) && !(MQ11c_RyneusREF.GetParentCell() == SilberhainRyneusHaus)
MQ11c_RyneusREF.MoveTo(MQ11c_RyneusDefaultPosition)
EndIf
EndEvent
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == PlayerREF
If MQ11c.GetStage() >= 60 && MQ11c.GetStage() < 65
MQ11c.SetStage(65)
EndIf
If (MQ11c.GetStage() == 175)
MQ11c_RyneusREF.MoveTo(MQ11c_RyneusDefaultPosition)
RegisterForSingleUpdate(2)
EndIf
EndIf
EndEvent
Quest Property MQ11c Auto
ObjectReference Property MQ11c_RyneusDefaultPosition Auto
Cell Property SilberhainRyneusHaus Auto
Actor Property PlayerREF Auto
Actor Property MQ11c_RyneusREF Auto