View Single Post
  #6  
Old 10-21-2006, 07:52 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by Rapidwolve View Post
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()'
__________________
Reply With Quote