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

Items - Combine items of same tipe(Very simple)

Level 17
Joined
Jun 28, 2008
Messages
776
Items - Combine items of same tipe(Very simple)

I've seen some tutorials that are very advance and insanely difficult.This one is very easy and hopefully understandable.

Say u want to combine 3 of the same items, here is what you do :

2592-items.gif


Simple, but effective.
 
Level 12
Joined
Aug 18, 2006
Messages
1,193
we already have one of those, sorry :p

and that tutorial leaks 1 point and 1 special effect

and Do Nothing is just a waste of space :D

EDIT : Found another thing, Item_Count is not reset to 0 at the end, meaning this will only work once
 
Level 12
Joined
Aug 18, 2006
Messages
1,193
oh, didnt see that :p

EDIT : Is this really that complicated?

  • Untitled Trigger 001
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Claws of Attack +15
    • Actions
      • For each (Integer A) from 1 to 6, do (If ((Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Claws of Attack +15) then do (Set ItemAmount = (ItemAmount + 1)) else do (Do nothing))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ItemAmount Equal to 2
        • Then - Actions
          • Hero - Drop (Item carried by (Hero manipulating item) of type Claws of Attack +15) from (Hero manipulating item)
          • Item - Remove (Last dropped item)
          • Hero - Drop (Item carried by (Hero manipulating item) of type Claws of Attack +15) from (Hero manipulating item)
          • Item - Remove (Last dropped item)
          • Hero - Create Crown of Kings +5 and give it to (Hero manipulating item)
        • Else - Actions
      • Set ItemAmount = 0
 
Top