• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Question about droping item

Status
Not open for further replies.
Level 4
Joined
Mar 24, 2008
Messages
87
Hi, i'm making a map, and i want the heroes cannot drop items, but that they can sell these. How to do this ?

Tryed on the items : Can be dropable = FALSE, but then heroes can't sell these.
I searched a way in triggers to take again an item when a hero drop it, but can't find the solution.

Any idea please ? :)

Thanks,

Exum
 
Level 4
Joined
Mar 24, 2008
Messages
87
Right, i didn't tryed with Wait 0.03 sec and it works. That bring me some new problems :/
I think that i will make a trigger to sell item and put Can be dropable = FALSE, because i have another problem when a hero gives an item to an ally.

Anyway, thank for your answer Dr Super Good :)
 
Level 4
Joined
Mar 24, 2008
Messages
87
I meant just draggin it out of inventory, or giving it to another hero.
But as i can't find the event "gives an item" (or event Aquires an item with conditions i need), and as there is a delay while droping item, my best solution is to unable this function on items.
I don't like this but i will add a text to sell items, that's the only way i found
 
Status
Not open for further replies.
Top