• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Move inventory Item - bug?

Status
Not open for further replies.
Level 4
Joined
Aug 30, 2009
Messages
70
I tried to do a custom Inventory based on the default one for my project, but ran into this problem:

My unit has the inventory ability with 2 containers: inventory and equip.
The problem is that you can move items into container 1 (inventory), but can't move items into container 2 (equip) with triggers, while everything works fine with default drag & drop.

So, I created 2 debugging triggers, one for searching all items in the inventory, and one to move one item through both of them.


Searchtrigger.jpg



Screenshot2010-08-0220_21_07.jpg




movetrigger.jpg



Screenshot2010-08-0220_20_33.jpg

Screenshot2010-08-0220_20_38.jpg


As the search before shows, the item can be put into slot 22,23 and 24 of container 2, it normally shouldn't give an error by moving?


Here's a picture of what doesn't work, the right one is the inventory and the left one the equip.
WorksWorksnot.jpg


So, as I can't find anything wrong, I guess it's some strange bug?
Anyone has an Idea how to solve this?
 
Last edited:
Hm I kept having the same problem...

Moving items via triggers in any other containers than the first one seems to be buggy. So I just said the equipment container to be number 1 in the unit's inventory ability.
I know that doesnt solve the problem, but at least it allows you to equip items via triggers, rather that unequipping them....
 
Dude nice gui...

I have a problem where i have a structure with a 6 slot inventory and a unit with a 1 slot.. When i click between them the display gets all messed up, also the structure has unlimited range for item transfer, which kinda destroys the game.
 
Status
Not open for further replies.
Back
Top