• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Item Combination Trigger

Status
Not open for further replies.
Level 2
Joined
Apr 11, 2009
Messages
6
Hi together

Im still working on my Hero Siege map and finished the item section. The problem now is that the trigger doesnt work as well as i thought... The items get combined but they always drop on the ground instead of the inventory. QUESTION: How can that be fixed?

Here is the trigger:

  • Magic Scepter 1of3
    • Events
      • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Item-type of (Item being manipulated)) Equal to |c00009933[Receipt]|r Magic Scepter (1/3)
          • (Item-type of (Item carried by (Triggering unit) of type |c000066ff[Item]|r Small Manacharm)) Equal to |c000066ff[Item]|r Small Manacharm
          • (Item-type of (Item carried by (Triggering unit) of type |c000066ff[Item]|r Bracelet of Energy)) Equal to |c000066ff[Item]|r Bracelet of Energy
          • (Item-type of (Item carried by (Triggering unit) of type |c00ffff00[Item]|r Cloak of Intelligence)) Equal to |c00ffff00[Item]|r Cloak of Intelligence
        • Then - Actions
          • Item - Remove (Item carried by (Triggering unit) of type |c000066ff[Item]|r Small Manacharm)
          • Item - Remove (Item carried by (Triggering unit) of type |c000066ff[Item]|r Bracelet of Energy)
          • Item - Remove (Item carried by (Triggering unit) of type |c00ffff00[Item]|r Cloak of Intelligence)
          • Item - Create |c000066ff[Item]|r Magic Scepter (1/3) at (Position of (Item being manipulated))
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Item being manipulated)) Equal to |c00009933[Receipt]|r Magic Scepter (1/3)
            • Then - Actions
              • Player - Add 2250 to (Owner of (Triggering unit)) Current gold
            • Else - Actions
              • Do nothing
Unit - A unit Acquires an item


Help would be appreciated. Thx.

Greez Noc
 
Last edited by a moderator:
Status
Not open for further replies.
Top