HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to detect item movement in inventory ?

10-06-2006, 12:30 PM#1
zen87
Uhm i tried to search in vex's InvX but just gave up (too many thing and im not sure which is im searching for)

how to detece an item moved from slot x to slot y ?

im trying to make a more advanced recipe system where you drop this item to another item will create new item (intead of the old bored buying recipe and upgrade, where many people copied from dota)

thanks for any help
10-06-2006, 12:42 PM#2
Naakaloh
Detect a unit's order:

Quote:
Originally Posted by Warcraft 3 Ability Guide (Composed By PitzerMike)
852002 to 852007 (moveslot): These are item targeted orders that move the target item to a certain inventory slot of the ordered hero. The id 852002 will move it to slot 1, the id 852003 will move it to slot 2 and so on.
852008 to 852013 (useslot): These are orders that will make the ordered hero use the item in a certain inventory slot. If it's an order with no target or object or point targeted depends on the type of item. The id 852008 will use the item in slot 1, the id 852009 will use the item in slot 2 and so on.
10-06-2006, 01:19 PM#3
zen87
Uhm... thanks but... how to use those code ? it respawnd under what event ? whent unit is issued order with no target ?
10-06-2006, 03:09 PM#4
Naakaloh
Quote:
Originally Posted by Naakaloh
Quote:
Originally Posted by PitzerMike's Wc3 Ability Guide
... These are item targeted orders ...
10-06-2006, 04:19 PM#5
zen87
-_-" you sure are good in quote stuff that ppl say...

anyway thanks !! i just found out the key to do the stuff !!
10-07-2006, 01:16 AM#6
Naakaloh
You're welcome. The first time I was giving credit to the guide, the second time I was showing you where the part of the guide I had quoted the first time had the information you needed.