• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

1 item type for each individual slot

Status
Not open for further replies.
Level 9
Joined
Sep 8, 2004
Messages
633
well, what you can do is the following:

Events:
Item - unit aquires item

Conditions:
Item type of item being manipulated is equal to (sword)

Actions:
if-item - number of items carried by hero of type (sword) = 0
then-Item - move item to inventory slot X
else-remove item being manipulated from the game
 
Well.. I would have changed the last trigger part there to: Make unit drop item... But that is if you don't want too destroy the item u pick up like:

You have the weakest sword in the map and finds the best one, and you forget to drop the weak one before u try to pick up the good one, its better then that the good one drop on the ground under the hero than it get removed from game ^^
 
Status
Not open for further replies.
Top