2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ11c_PickUpArrowOrQuiver extends ObjectReference
|
|
|
|
{Updates the stage once the player has picked up both the quiver and the bow}
|
|
|
|
|
|
|
|
Event OnInit()
|
|
|
|
self.BlockActivation(True)
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
if (akActionRef == PlayerREF) && (MQ11c.GetCurrentStageID() == 160) && bDone == False
|
2021-10-05 22:15:58 +00:00
|
|
|
bDone = True
|
|
|
|
self.Activate(PlayerREF, true)
|
|
|
|
if (Self.GetBaseObject() == _00E_MQ11c_SphereQuiver)
|
|
|
|
PlayerREF.AddItem(_00E_MQ11c_SphereArrow, 50)
|
|
|
|
ITMArrowsUp.Play(PlayerREF)
|
|
|
|
Self.MoveTo(_00E_NPCDumpMarker)
|
|
|
|
EndIf
|
|
|
|
if (PlayerREF.GetItemCount(_00E_MQ11c_SphereArrow) >= 1) && (PlayerREF.GetItemCount(_00E_MQ11c_SphereBow) >= 1)
|
2024-01-10 14:08:24 +00:00
|
|
|
MQ11c.SetCurrentStageID(165)
|
2021-10-05 22:15:58 +00:00
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Bool bDone
|
|
|
|
|
|
|
|
Activator Property _00E_MQ11c_SphereQuiver Auto
|
|
|
|
Ammo Property _00E_MQ11c_SphereArrow Auto
|
|
|
|
Weapon Property _00E_MQ11c_SphereBow Auto
|
|
|
|
Sound Property ITMArrowsUp Auto
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
Quest Property MQ11c Auto
|
|
|
|
ObjectReference Property _00E_NPCDumpMarker Auto
|