Jump to content
  • 0

Item carrying limit


Question

Posted

Hey can you change how many of a certain item you can carry? For example I don't want players to be able to have 2 of the same books in their inventory.

2 answers to this question

Recommended Posts

  • 0
Posted

You could do a autotrigger event with a condition list 'has item' then put the condition 'have 2 or more'. In the event put delete item X and a chatbox message like 'You can't have more than one copy of this item, so you dropped one'

Β 

If i don't mistaken, if the player have a third copy of this item the event should relaunch again until the player don't have more than one copy of this item.

  • 0
Posted
56 minutes ago, Gibier said:

You could do a autotrigger event with a condition list 'has item' then put the condition 'have 2 or more'. In the event put delete item X and a chatbox message like 'You can't have more than one copy of this item, so you dropped one'

Β 

If i don't mistaken, if the player have a third copy of this item the event should relaunch again until the player don't have more than one copy of this item.

Haha thanks for answering, that's exactly what I did while waiting on an answer and it worked. You're right, the event will loop if the player has 3.

×
×
  • Create New...