Warcraft III resources & community, 2003–2006 · archived

how do I make recipes for items ?

6 posts
#1

how do I make recipes for items ?

my question is :
how do I set that 2 items make another one instantly or by bying a recipe ?
how do I do this ?
pls answer if U know
#2
For example if u need orb of fire and or of frost:

Events: Unit acuires orb of frost
Conditions:
Actions:
If: Unit has orb of fire
then: Remove orb of frost and fire
wait 0.1
Item - Create Orb of ... for unit

If u want with recipe, just like the above but then with one more item
#3
how do I set this :

Unit acuires orb of frost
where is that string cuz the only thing I find is :
A unit acuirs Item (not a specific one)
#4
Put this at conditions:Then u use a conditon: Item type of acuiring(or triggering or sumthing) item equal to orb of frost. Then go to actions and use If, Then, Else
and at if u write: If he has item ...
Then: .......
Else: Do Nothing
#5
An alternative method is to make "recipes", items that are dummies, cost zero, but have all the appearance of the mixed item. This is what you'd need:

Orb of Frost (500 gp, 250 sell value, slowing effect)
Orb of Fire (500 gp, 250 sell value, splash effect)
or w/e
Orb of Elements (requires frost and fire orbs, 500 sell value, slowing/splash effect)
Orb of Elements Recipe (same tooltips and description as element orb, only 0 cost and no abilities)

So when you buy the recipe, it then checks to see if you have both of the frost and fire orbs. If you do, the recipe and both orbs should be removed, and the elemental orb put in the hero's inventory. If you don't, the recipe vanishes.

It's just another method of doing it, instead of having a set of triggers for aquiring each part of a recipe. That's a bit complex.

However, if you need to ask what the specific triggers are to do any of this, you shouldn't be asking how in the first place. Learn your triggers.
#6
And how do you learn triggers except by trying things? All the tutorials in the world are no replacement for actually making triggers and seeing what happens or, conversely, by being given triggers and seeing how they work.