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.
 
 
 

33 lines
1018 B

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)
if (akActionRef == PlayerREF) && (MQ11c.GetCurrentStageID() == 160) && bDone == False
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)
MQ11c.SetCurrentStageID(165)
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