HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

What is the order to use a special item?

01-31-2004, 07:54 AM#1
Soultaker
I need that... Please help any suggestion are welcome
01-31-2004, 08:11 AM#2
DaKaN
You use the I2S() integer 2 string function, and pass in the order variable and it will return the integer value of the order if one exists
01-31-2004, 08:16 AM#3
Soultaker
Im sorry I don't get it
01-31-2004, 01:52 PM#4
weaaddar
the order to use an item is between 852008-852013 depending on which slot the item resides in.
(slot1==852008-slot6==852013)

Edit: theres a function Hero-use item in slot.
01-31-2004, 04:08 PM#5
Soultaker
Thanks I know about the hero use item stuff but I need to detect when a unit or hero uses a special item but ill try work it out with this.
01-31-2004, 05:00 PM#6
weaaddar
oh if you need to detect using an item thats even easier

Theres an event:

Generic Unit Event-Unit uses an item
then you can do a condition
Item type of Manipulated Item==my spiffy item
01-31-2004, 08:08 PM#7
Soultaker
Its because I need to use "Target point of issued order" and "Target obejt of issued order" If you can find any other solution please tell.
01-31-2004, 08:48 PM#8
weaaddar
I already told you the order id (NOT STRING) for using an item is 852008-852013