HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Itemtype prob

05-08-2004, 03:35 AM#1
Ghost_81st
I am trying to make a local itemtype variable, but I cannot make work... anyone else have trouble with this?
Code:
local itemtype blah
set blah = 'I003'
05-08-2004, 04:59 AM#2
MysticGeneral
Does I003 exist?... All I can think of. Or maybe the entire function is wrong.
05-08-2004, 05:08 AM#3
Ghost_81st
Quote:
Originally Posted by MysticGeneral
Does I003 exist?... All I can think of. Or maybe the entire function is wrong.

the function is JUST fine, try setting an item type as a local on the fly.. it wont work for me and ues I003 does exist, I have even used tome of power and it wont work....
05-08-2004, 12:29 PM#4
AIAndy
itemtype is something different than you think.
In your case you need an integer.
05-08-2004, 04:04 PM#5
Ghost_81st
Quote:
Originally Posted by AIAndy
itemtype is something different than you think.
In your case you need an integer.


I understand that much, but then how to get I003 -> Integer
05-08-2004, 04:52 PM#6
AIAndy
'I003' is an integer literal. Just use the code as you have it but use integer instead of itemtype.