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

[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
 
Level 3
Joined
Dec 1, 2008
Messages
27
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????
 
Level 3
Joined
Dec 1, 2008
Messages
27
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
 
Level 3
Joined
Dec 1, 2008
Messages
27
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
 
Level 2
Joined
Aug 20, 2008
Messages
9
What are the Variables for this?

I'm trying to do the same thing, i just suck with variables :( heh, help me out?
 
Level 5
Joined
Dec 13, 2008
Messages
141
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.
 
Level 1
Joined
Jan 4, 2009
Messages
7
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.
Top