HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to get item variable?

03-17-2005, 01:41 AM#1
The_AwaKening
I'm adjusting some triggers in jass where I need to select an item. How do I get an item id such as I030 or something like that without having to go through too much trbl. The way I have to get it is ridiculous and I'm sure there is an easy way. What I have been doing is making a gui trigger with that item then converting it to jass to see what the name is.

On another note, how do you make a trigger jass to begin with? I have just been copying and pasting one that I already have then deleting the code.
03-17-2005, 04:49 AM#2
curi
i think you just go into object editor and turn on view raw data.
03-17-2005, 04:52 AM#3
AnarkiNet
yeah its CTRL + D as a shortcut to view raw data. you will see like "I0##:Iahb" or something, the second set of hex code is the original item code of the item, and the first one is the actual code of that custom object.

to make a jass trigger, select the trigger and go to the edit menu, and then select "convert to custom text"

hope it helps.
03-17-2005, 10:27 PM#4
The_AwaKening
Thanks guys, that's what I needed.