HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Convert Item name to String???

12-01-2003, 06:31 AM#1
FF_Behemoth
is it possible to convert item names to string??? I've only able to find convert item_life and item_lvl to string. I hope I missed it somewhere.........

E- a unit acuires an item
A- Display to (All players) for 30.00 seconds the text: (Name of (Hero manipulating item))
poo.... of course that only displayed the unit's name...:nono:
12-01-2003, 06:51 AM#2
Ligature
There's no item name to string conversion. Best you can do is make your own table and use item life or a lot of comparisons
12-01-2003, 10:33 PM#3
FF_Behemoth
Not even in jass??? I always though anything was possible wit jass

thx for that info but I'm aware of that workaround. It just that its not very effecient to use if/then/else to convert item_life to variable then to display it to players.

This is after all is only used for 1 ability, which I though it would be nice to display the item's name when its stolen.