Warcraft III resources & community, 2003–2006 · archived

Only one type of item

3 posts
#1

Only one type of item

In my new map i have it so you pick up an item and they have a modafyed orcishbattlestanderd ablity but how would i make a trigger (or whatever) so they could only carry 1 wepon?
#2
Should be something like this:

Event
Unit - A unit acquires an item
Condition
Item being manipulated equal to [Item1]

Or (multi conditions)
    (Item-type of (item carried by hero manipulating item in slot 1)) Equal to [Item2]
    (Item-type of (item carried by hero manipulating item in slot 2)) Equal to [Item2]
    (Item-type of (item carried by hero manipulating item in slot 3)) Equal to [Item2]
    (Item-type of (item carried by hero manipulating item in slot 4)) Equal to [Item2]
    (Item-type of (item carried by hero manipulating item in slot 5)) Equal to [Item2]
    (Item-type of (item carried by hero manipulating item in slot 6)) Equal to [Item2]


Action
Hero - Drop (item carried by hero manipulating item of type [Item2]) from hero manipulating item


I don't have WE open, but I think this is correct.
Do another trigger for the other item.
#3
item one would be the wepon right?