Thread: File I/O Tool
View Single Post
Old
Dj Tech42
Senior Member
 
Dj Tech42's Avatar
 
Status: Offline
Posts: 202
Join Date: Feb 2011
Default 11-02-2011, 02:20 PM

Quote:
Originally Posted by arty-fishL View Post
That is actually a very interesting question. I understand that due to the limited access to scripting in Alice I have implemented a rather strange and also limited way of accessing those functions in the tool, so I can understand why you might want to do this.

Having two instances of the tool means having duplicate python functions. Whether these just override each other, as I would expect them to do, or whether in this environment they can run simultaneously under seperate scopes I am not sure of. The other major issue, which probably cancels out the last issue, is that the second tool would have a different object name, meaning its functions would access the variables of the first object, so in effect still only having one usable instance of the object.

So in summary Im not too sure, but I am expecting the answer to your question to, unfortunately , be no. The best way to find out is to test it for yourself (Im not at my computer, so I cant). The worst that could happen is you could get an error message and a duff file that you can easily delete.

What could you possibly be doing that requires dual simultaneous file access though? Can you not just do one file at a time?
I figured that was the case. I was hoping I could do all the loading operations at once in the beginning to speed up the "boot up" of the world, but that may not have helped much anyway.


Flight Simulator with Dogfight Modes:
http://www.alice.org/community/showthread.php?t=6840
   
Reply With Quote