- Joined
- Feb 22, 2008
- Messages
- 619
Because item types are integers, I'm trying to use custom script to save variable "item_type" as "x" of "y" of "hashtable" (which is an item type saved as an integer).
This is my custom script:
All of those variables are saved, registered, whatever. "item_type" is an item type variable, "hashtable" is a hashtable, and "x" and "y" are integers.
Please help me locate the issue with my custom script. It's based on other custom scripts I've seen and used, but I'm not used to using them.
This is my custom script:
- Custom script: set udg_item_type = LoadInteger(udg_hashtable(udg_x,udg_y))
All of those variables are saved, registered, whatever. "item_type" is an item type variable, "hashtable" is a hashtable, and "x" and "y" are integers.
Please help me locate the issue with my custom script. It's based on other custom scripts I've seen and used, but I'm not used to using them.