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

Item combine??

Status
Not open for further replies.

Luys

L

Luys

:?: Hi: I need some help, I want combine items in my map like DotA(when a hero buy a Recipe inmediatly remove some items for make an other item)for example when you buy "Ring of health" an "Void Stone" inmediatly these items make a "Perseverance", How can i do that???
 
suppose that a+b+recipe = c

then make a trigger:

Event:
Uni - Acquire an Item

Conditions:
Item Type of item being manipulated equal to recipe
Hero has Item type of a
Hero has item type of b

Actions:
Drop item type of recipe from triggering unit
Remove last dropped item
Drop item type of a from triggering unit
Remove last dropped item
Drop item type of b from triggering unit
Remove last dropped item
Create 1 item type c for triggering unit
Create special effect (whataver you want on triggering unit)
 
Status
Not open for further replies.
Back
Top