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

Item combine??

Status
Not open for further replies.
Level 1
Joined
Jun 1, 2005
Messages
2
:?: 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???
 
Level 13
Joined
Dec 29, 2004
Messages
597
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.
Top