• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[vJASS] Make item sellable by unit via code

Status
Not open for further replies.
Level 4
Joined
May 23, 2010
Messages
83
I'm working on a drop system that works like this:

-You kill a unit.
-Another unit is created in the place of the dying unit (with bones model)
-That last created unit works like a "shop" where you can "buy" (for 0 gold) items.

My problem: how to I make that unit "sell" items? Is it possible to add items to a unit to sell them?

I really don't know if anyone got the system, anyway, if you didn't get this, I can explain again.
 
Status
Not open for further replies.
Top