• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Combining items

Status
Not open for further replies.
Level 3
Joined
Dec 1, 2008
Messages
27
Im looking for a Dota effect where if i control item A and item B they become item C but i cant find any triggers like "Hero owns item - A" =\.

Thx in advance
 
Thx

K thx just one question about the slots... if u say has item in slot 1 then does that mean if i put the item in the bottom left spot of the char inventory that it wont work????
 
ahh

k cool... next problem it is not following BOTH conditions. and for now im ignoring the recipe thing just trying to get it to work with 2 items this is what i have so far. I also have it right now to just kill the guy for simplicity

Untitled Trigger 001
Events
Unit - A unit Acquires an item
Conditions
Actions

Set Owner = (Hero manipulating item)

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Item carried by Owner in slot 1) Equal to (Item carried by Owner of type Iron Sword)) and ((Item carried by Owner in slot 2) Equal to (Item carried by Owner of type Shadow Orb +1))

Then - Actions
Unit - Kill Owner

Else - Actions
Do nothing
 
K just for easier reading (just figured out how to do this >.<)

  • Untitled Trigger 001
    • Events
      • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • Set Owner = (Hero manipulating item)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Item carried by Owner in slot 1) Equal to (Item carried by Owner of type Iron Sword)) and ((Item carried by Owner in slot 2) Equal to (Item carried by Owner of type Shadow Orb +1))
        • Then - Actions
          • Unit - Kill Owner
        • Else - Actions
          • Do nothing
 
What are the Variables for this?

I'm trying to do the same thing, i just suck with variables :( heh, help me out?
 
I found an easier way to make an Item recipe, but I don't clearly remember what it was, I havn't used it in a very long time. And I posted it on some other forum, i think it was on the Dawn of the Dead forums.
 
Okay.. I did try to do this after reading your little conversation, but I didn't come far xD
Can someone make like an easy tutorial for creating items by items..?
 
Status
Not open for further replies.
Back
Top