• 🏆 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!

Item class

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,202
Have you checked the spell section in case it has such a system that still works with modern Warcraft III? This sort of request is fairly common and I have seen it used in at least a few maps.

Please use the edit button to modify recently made posts rather than double posting.
 
Level 12
Joined
Oct 28, 2019
Messages
478
  • Untitled Trigger 006
    • Events
      • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item being manipulated) Not equal to (Item carried by (Triggering unit) in slot (Integer A))
              • (Item-class of (Item being manipulated)) Equal to (Item-class of (Item carried by (Triggering unit) in slot (Integer A)))
            • Then - Actions
              • Hero - Drop (Item being manipulated) from (Triggering unit).
              • Game - Display to (All players) the text: Warning: You alread...
              • Custom script: exitwhen true
            • Else - Actions
I´ve done this and its ok, but has other problem, the hero can pick 2 rings, but with this trigger only 1 is permited. Need Help
 
Status
Not open for further replies.
Top