Pick up weapons quest
Pick up weapons quest
Hello, I'm trying to make a pick up weapons quest where the Player would pick up Sword and Shield (using Invector) that would then attach to his hand. When I make usual quests the items that the Player picks up get disabled so it's easy to make increment on disable and count how many items did the Player pick up and then make the quest "success" but with one where the item does not get disabled (it stays active, it just attaches to the Player hand) I'm not really sure how to make the quest to count when Sword and Shield get picked up and then become "success" after both are picked up?
Re: Pick up weapons quest
Hi,
Create a Dialogue System Trigger set to OnUse.
Create a Dialogue System Trigger set to OnUse.
- Set the trigger's Conditions to check the vGetItemCount() Lua function. For example, something like:
where 3 is the item ID of the sword.
Code: Select all
vGetItemCount(3) >= 1
- Select Add Action > Set Quest State, and set the quest to success.