View Full Version : stop the world
ShakeYoSenses
12-02-2006, 11:52 PM
what function or whatever do i use to get ther world to stop running, i just need to get it too stop when a certain method is called.
ringo
12-21-2006, 02:32 PM
I have a related question:
Is there a method that I can call from the code to exit playing the world?
At the moment I have to click the "Stop" button in the editor, or close the window if I use the standalone player. I believe that there must be one, which is called when clicking the "Stop" button, but it does not show up under "world's details".
DrJim
12-21-2006, 08:24 PM
I don't think this capabilility currently exists in Alice :confused: - at least the question has been asked multiple time and I haven't seen any response.
It may be possible to write a simple script to simulate the needed keyboard inputs (hold the mouse over the buttons on the screen that the world plays in to see the keystroke equivalents) but so far this has exceeded my programming capabilities :o and may not be part of the implemented functions. (See the first reference and general comments in this forum on the status of Alice scripting - it was in 1.0 but apparently not fully implemented in 2.0.)
Anyway, the references I'm starting with are:
http://www.westga.edu/~drocco/alice/scripting.html
http://www.rutherfurd.net/python/sendkeys/#overview and
http://www.rutherfurd.net/python/sendkeys/#overview
Please post the results if you have any success - or if you see an obvious flaw in this line of thought. :( This would really be something nice to have. :D