Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
I want to make it so if ANY unit that gets more than 1 of "XXX item" then the 2nd item will be destroyed so there is only one on the carrier at all times
I want to make it so if ANY unit that gets more than 1 of "XXX item" then the 2nd item will be destroyed so there is only one on the carrier at all times
I can't remember all the the action/condition names but something like this:
Event: A hero acquires an item
Actions: Maybe under hero or item section, do the actions so that it checks if the hero has a same type of item it picked, if it has, remove one of them. Use integer section in condition-The hero has more than 1 item of the type?
event: a unit aquire an item
action:
loop a for 1 to 6,
if item carried by (triggering unit/hero manipulating item) in slot a equal to (item being manipulated)
then remove (item being manipulated)
else (do nothing)
event: a unit aquire an item
action:
loop a for 1 to 6,
if item carried by (triggering unit/hero manipulating item) in slot a equal to (item being manipulated)
then remove (item being manipulated)
else (do nothing)
remove item being manipulated
loop a for 1 to 6,
if item carried by (triggering unit/hero manipulating item) in slot a equal to (item being manipulated)
then (do nothing)
else (create item for hero[item being manipulated)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.