PDA

View Full Version : How to do Item Recipes?


Dayoh
07-15-2006, 9:46 PM
Like in Dota how would one do the item recipe thing.
Because i want it to be in my map but i dont know how to do it, if someone gives me a solution can u try and not limit it so that it doesent matter what item slot the items are in?

Thx in advance

Markpyro
07-16-2006, 12:58 AM
Item recipie? Like, two items in a hero's inventory means that they combine to create a new item?

Dayoh
07-16-2006, 1:12 AM
Yer thats it, but its ok now cause i figured it out :_penguin:

Hotshot
07-16-2006, 2:07 AM
I would imagine it would be like...

If Player holds Item 1 + Item 2 + ... (where an Item is also a 'recipe' if you want) Then
- Remove Item 1, 2, ...
- Give Player Recipe Item

Coded it would be like...

Events
- None

Conditions
- If All Conditions
-- Player holds Item 1
-- Player holds Item 2

Actions
- Remove Item 1 from Player
- Remove Item 2 from Player
- Give Player New Item

Dayoh
07-16-2006, 7:05 AM
Its a little more indepth then that but thx anyway, cause i have already figured it out.

Sid
07-16-2006, 12:49 PM
/me Requests Mindslaver to close this thread...

/me Expects only Mindslaver to close this thread...

/me Not spamming...

/me Just kidding!!!

Dayoh
07-17-2006, 1:42 AM
sid, was there a point to that, but anway, could u make some spells for me plz......