Quote:
Originally Posted by Rapidwolve
this.library is "scriptfiles/ur_itemlib.txt"
Also:
GraalScript: Function getstringKeys not found at line 67 in script of ItemLib (in level databases.nw at pos (30.5, 30))
|
Weird?
Works fine for me, I use it all the time:
HTML Code:
this.shield_1 = {"Basic Shield", "shield1.png", "tom_icon-shield1.png"};
this.shield_2 = {"Mirror Shield", "shield2.png", "tom_icon-shield2.png"};
this.shield_3 = {"Lizard Shield", "shield3.png", "tom_icon-shield3.png"};
for (temp.curShield: getstringkeys("this.shield_"))
{
echo(temp.curShield);
}
I used it earlier today to just do this... o-O
For the file, I think you'd need to use 'getdynamicvarnames()'