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

how do I make recipes for items ?

Status
Not open for further replies.
Level 22
Joined
Jan 10, 2005
Messages
3,426
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
 
Level 5
Joined
Jun 23, 2004
Messages
126
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.
 
Level 3
Joined
Oct 14, 2005
Messages
37
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.
 
Status
Not open for further replies.
Top