• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Items

Status
Not open for further replies.
Level 17
Joined
Mar 21, 2011
Messages
1,597
hi
situation is:
you buy a recipe of an item (name is "z")
and you require "x" and "y"
now your inventory is full and you have "x" and "y", and you buy the recipe "z", then theres the message "your inventory is full", how can i do it like in dota that the item get combined without a free slot?
ty
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
It uses a Tome, I think.
Because when you bought a Tome even it is full, there is no "Your inventory is full" message.

Here is the test map.

NOTE: You can even use Units.
 

Attachments

  • Simple Full Inventory System.w3x
    13 KB · Views: 36
Level 20
Joined
Jul 14, 2011
Messages
3,213
You can use Units, Runes or Tomes. If the Unit doesn't have the required items for the recipe (which is auto-used as a rune) you create a Recipe-Item in the inventory, oterwise, the rune dissapears.

You would need a Rune for each recipe, and a Item-Recipe for each item-combination you have. The rune to avoid "Inventory is full" and the second one to fill the inventory if the recipe requirements aren't fulfilled
 
Status
Not open for further replies.
Top