• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Trigger] Inventory Items

Status
Not open for further replies.
What I've done for my map is, it's bulky (it requires an extra copy of each pickupable item) but it doesn't require any free inventory slots:
Create a copy of a tome, take away it's bonuses (custom ability - no bonus), then make that item look like your item (description, model, etc.), make a trigger that detects the tome pickup, if your conditions are met (checking free inventory space, if needed) then create your "real" item in a inventory slot. If conditions AREN'T met, then you have to recreate the tome on the ground.

Using this method, you can create items that properly stack (no extra slots required), and you can do ANY check that you like (EG: does the unit have a right hand item, then can't pick up any right hand items, etc.) :grin:
Even though I think that the Wc3 engine should have made it easier to do. :thumbs_down:

Hope this helps :thumbs_up:
 
Status
Not open for further replies.
Back
Top