• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Item help

Status
Not open for further replies.
Level 1
Joined
May 10, 2005
Messages
2
Hi I am new here and I need help for my new map.
I hope one of you could help me.
I want that when my inventory is full, and if I try to get one new item, other items in my inventory get remove on the field and the item I wan't to take get remove on my inventory.
For exemple one units find a clow of attack but he can't take it cause his inventory is full. Instead of saying "inventory full" i would like that the item he has in his inventory get remplaced by the clow.
sorry I am not English I hope you understand me
 
Level 4
Joined
Mar 19, 2005
Messages
95
Where are you from?

I don't belive this is possible.

A way which may work proper:
You'll have to detect a unit drop item event.
Then you should remove a random or maybe the weakest item from the unit inventory and add drop the other in this slot.

But:
If all itemslots are used it won't work.
Think on that.

It sounds a bit strange, I know.
 
Status
Not open for further replies.
Top