HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Item raw codes

01-24-2005, 04:10 PM#1
logik
i am wondering if there is something that displays/stores item rawcodes like "uHuc" etc. which can be stored in a string variable?

any help would be much appreciated.
01-25-2005, 05:15 AM#2
Panto
You can see what an item's code is by hitting Ctrl+D in the object editor.

You can store codes in-game using an integer variable, or item-type if you're using GUI.
01-25-2005, 12:09 PM#3
logik
thanks for the advice panto, but i do know how to display and use the raw codes in the obect editor...

what i am meaning is, is there a function in the trigger editor that allows you to store an item's raw code in a variable?

ie. set [string variable] = item in hero slot 1

thats just a bull crap example...


anyways, once again thnx for the attempted help and any further help would be appreciated.
01-25-2005, 08:30 PM#4
Captain Griffen
Convert some stuff into JASS and have a look at that?

Probably going to need JASS, as everything is effectively a string in JASS.
01-26-2005, 12:20 AM#5
Panto
That's untrue.
01-26-2005, 01:32 PM#6
logik
im not afraid of looking at JASS, im completely stumped personally.
01-29-2005, 09:57 PM#7
Vexorian
You can just get the type of the item, it would be an integer, I think that encoding the integer directly would be much more effective than converting the integer to a rawcode (which is possible by a function that is on mpq\scripts\cheats.j) then encoding the rawcode to another string