Quote:
Originally Posted by Kristi
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
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.