• 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.

[General] Some questions about items and inventory

Status
Not open for further replies.

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
Hello guys. Like the title said, I have some questions about them:
1/How can I detect when a unit is ORDERED to PICK UP AN ITEM? (Not acquire them).
2/I want to create an inventory for units that have only 2 slots but still giving them the bonus of the items. Is that possible and if it is, what do I have to do after modifying the ability Inventory (Hero)?
 

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
Right. Thks. One more question: If I want the shop to sell items to the Hero (or unit) when its inventory is full, how can I do that?
 
Level 16
Joined
Dec 15, 2011
Messages
1,423
From what I know, all items in DotA's shops are runes/powerups/tomes which won't trigger the Inventory is full error and thus allow buying with full inventory. When the unit acquires the rune item, an actual item is created at the unit's position.
 
Status
Not open for further replies.
Top