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

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