View Single Post
  #20  
Old 04-09-2007, 11:52 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Kristi View Post
You are loading the vars from a file. therefore, file is an object, but everything else sub of it is a variable. You do not have to believe me though, just see, for example, what file.muditems[0].type() returns, my bet is that it will not return 2 (an object).
The function MudControl.loadRefs(file); converts all object reference strings in the file into the actual MUD object. You still don't seem to understand the fact that the script works EXACTLY RIGHT when the commented-out lines are added in.

Quote:
Originally Posted by Kristi View Post
That is ironic when what I said works and what you are doing does not work, hense the reason you posted in the first place.
I didn't post the script because it didn't work. I posted the script because the first way that should have worked didn't work, so I used an alternative. Now if you're done trying to fix my script. Please answer my question, Why does the script work when the commented-out lines are added in. I do NOT need anything else from you but that answer.

If you had clearly read my first post you would understand this.

Edit: Its strange that the object array failed to copy while the object in a different non-array variable copied without a hitch.
__________________

Last edited by Inverness; 04-10-2007 at 02:41 AM..
Reply With Quote