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

How to make recipe items? (like in dota)

Status
Not open for further replies.
Level 6
Joined
Aug 24, 2008
Messages
231
I assume you have create 5 items:
-Sword (1000 gold)
-Flame orb (1000 gold)
-Flame Sword (Dummy) (1000 gold)
-Flame Sword Recipe ( 1000)
-The flame sword( the true sword) (3000 gold)


Description:
Okay Sword and orb is the first item. Recipe is Recipe (u know that). Dummy is the item that unit will buy and will be changed into recipe. The flame sword is the true sword.

Trigger:

Events
- Unit-Unit acquaries an item
Condition
- ((Item carried by (triggering unit) of type Flame Sword (dummy) is owned)Equal to True
Actions
- Item-remove (item carried by (triggering unit) of flame sword(dummy))
- Hero-create the Flame Sword Recipe and give it to (triggering unit)



How to make combined item (same)

Events
- Unit acquaries an item
Condition
- ((triggering unit) has an item of type Flame Orb) equal to true
- ((triggering unit) has an item of type Sword) equal to true
- ((triggering unit) has an item of type Flame Sword Recipe) equal to true
Actions
- Special effect-create a special effect attached to the origin of (triggering unit) using abilities/spells/items/alem/alem target.mdl
- Item-remove (item carried by(triggering unit) of type Flame Orb)
- Item-remove (item carried by(triggering unit) of type Ordinary Sword)
- Item-remove (item carried by(triggering unit) of type Flame Sword Recipe)
- Hero - create The Flame Sword and give it to (triggering unit)


Try this :
View attachment SYSTEM..XD.w3x
 
Status
Not open for further replies.
Top