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

Item collection

Status
Not open for further replies.
Level 7
Joined
Dec 5, 2013
Messages
280
How to build system where unit is unlocked if player collects certain amount of items? Also what item stacks? I want item to stack for an example 10 times and then it can be converted into item which can be used to summon special unit.
 
Level 7
Joined
Dec 5, 2013
Messages
280
But how to make unit stack?

Items should be inactive until there are 10 items and then player click the 10 item stack and unit is summoned if unit is in summoning area.
 
Level 11
Joined
Nov 15, 2007
Messages
800
Add charges to the item via triggers whenever a new one is picked up, and remove the newly acquired item. Ideally you have two items - one that is used instantly when acquired, and one that you add to the unit's inventory through a trigger when the used instantly item is used. Otherwise your unit won't be able to pick up another charge if its inventory is full.
 
Status
Not open for further replies.
Top