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

Bag?

Status
Not open for further replies.
Level 3
Joined
Jun 25, 2008
Messages
65
Is there a way to make a "Bag" into an inventory ?
I mean an item that opens into a 4slot Bag when you click on it.
I think I saw that once a time in a map, but im not sure...

Maybe someone can help me ...
 
Thats not the problem ;)
If it's in JASS i cant do it, then i have to copy it.
But if not I can do it if someone tells me how to do^^
 
Is there a way to make a "Bag" into an inventory ?
you asked for if there is a way and I said yes
and it can be done in GUI but it will be too hard
you need to index every unit
store their inventroy when they click to bag
and remove items in inventroy and show an empty one
when they exit from bag you need to store bag inventory in anouther cache slot and put items from first cache and it goes like that
 
Already done it. Its quite easy^^
I dont want the items in the bag give user passive abilities like +10 Damage or so. Maybe I will do that later, too, but that will he really hard^^

My bag works now =)
 
Status
Not open for further replies.
Back
Top