View Single Post
  #12  
Old 04-10-2007, 10:36 PM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Quote:
Originally Posted by Chandler View Post
Load the arrays first
PHP Code:
temp.playerData = new TStaticVar(); 
temp.playerData.loadVars("thistextfile.arc");
for (
temp.currentDatatemp.playerData.getDynamicVarNames())
  if (
temp.currentData.starts("inv"))
    
temp.foundData temp.currentData
Then you would like to load the temp.foundData, with whatever. I think that should work

I really don't get this


TEXT FILE BELOW

[TEXTFILE]
inv_item=Name,Icon,ID
inv_item=Name,Icon,ID
inv_weap=Name,Icon,ID
[/TEXTFILE]

I load those vars from the text file into an object!
NOW,

OBJECT WITH BOLD
[OBJECT]
inv_item=Name,Icon,ID
inv_item=Name,Icon,ID
inv_weap=Name,Icon,ID
[/OBJECT]

Everything that's bolded and underlined, is what I'm trying to get from what I loaded into the object!




I loaded inv_item=blah into the object, now I'm trying to get "blah" back.
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote