• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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