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!
Sorry, but I don't understand your use of language.
Maybe you are asking about how can you make an item that require merging 2 or more items together? If that you just use trigger to check the inventory of the unit, and if it has all required item then remove those requirements and add new merged item. If I misunderstood then sorry.
Sorry, but I don't understand your use of language.
Maybe you are asking about how can you make an item that require merging 2 or more items together? If that you just use trigger to check the inventory of the unit, and if it has all required item then remove those requirements and add new merged item. If I misunderstood then sorry.
The question is still very vague.
If you want something like a recipe system, then search the spells-section.
I've also made a recipe system like that (GUI), but haven't actually released that anywhere.
The idea is simple: you have 2 items in your inventory. You buy a recipe and it combines those 2 (or more) items into 1 item.
(Like Claws of Attack + Orb of Lightning --> Claws of Lightning).
Events - A unit acquires an item
Conditions - (none)
Actions - (Use If then else multiple actions)
If item type of item being manipulated equal to (1st item) and Hero manipulating item has item type of (2nd item) then do remove item carried by hero of type (1st item) remove item carried by hero of type (2nd item) Create (3rd item) and give it to (Unit)
If item type of item being manipulated equal to (2nd item) and Hero manipulating item has item type of (1st item) then do remove item carried by hero of type (1st item) remove item carried by hero of type (2nd item) Create (3rd item) and give it to (Unit)
(You may also add a special effect when the items are merged...)
Like I said in ur last thread, Legendary, before making a new thread, search for some thread that have similar problem to urs. If u dont find any of them, then that's when u make a new thread (or may be when u are too tired to do the search ).
For the merging system, it's not really complicated. U just need to do the trigger like this:
Untitled Trigger 001
Events
Unit - A unit Acquires an item
Conditions
Or - Any (Conditions) are true
Conditions
And - All (Conditions) are true
Conditions
(Item-type of (Item being manipulated)) Equal to Boots of Speed
((Triggering unit) has an item of type Gloves of Haste) Equal to True
And - All (Conditions) are true
Conditions
(Item-type of (Item being manipulated)) Equal to Gloves of Haste
((Triggering unit) has an item of type Boots of Speed) Equal to True
Actions
Item - Remove (Item carried by (Triggering unit) of type Boots of Speed)
Item - Remove (Item carried by (Triggering unit) of type Gloves of Haste)
Item - Create Berserker Boots at (Position of (Triggering unit))
Hero - Give (Last created item) to (Triggering unit)
Like I said in ur last thread, Legendary, before making a new thread, search for some thread that have similar problem to urs. If u dont find any of them, then that's when u make a new thread (or may be when u are too tired to do the search ).
For the merging system, it's not really complicated. U just need to do the trigger like this:
Untitled Trigger 001
Events
Unit - A unit Acquires an item
Conditions
Or - Any (Conditions) are true
Conditions
And - All (Conditions) are true
Conditions
(Item-type of (Item being manipulated)) Equal to Boots of Speed
((Triggering unit) has an item of type Gloves of Haste) Equal to True
And - All (Conditions) are true
Conditions
(Item-type of (Item being manipulated)) Equal to Gloves of Haste
((Triggering unit) has an item of type Boots of Speed) Equal to True
Actions
Item - Remove (Item carried by (Triggering unit) of type Boots of Speed)
Item - Remove (Item carried by (Triggering unit) of type Gloves of Haste)
Item - Create Berserker Boots at (Position of (Triggering unit))
Hero - Give (Last created item) to (Triggering unit)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.