I'm having a problem with this function. When you press cross on the Open Icon to select a file to open and press cross again to select a file, the fileselector.lua script seems to start over again. how can I return to the original script? The fileselector quits normally to lowser when running it stand-alone.
I did it like this:
dofile("fileselector.lua")
dofile("")
Moderators: Shine, Insert_witty_name
-
- Posts: 123
- Joined: Mon Oct 03, 2005 4:25 am
- Location: Netherlands
dofile("")
Behold! The Underminer got hold of a PSP
-
- Posts: 35
- Joined: Mon Aug 22, 2005 7:48 am
-
- Posts: 123
- Joined: Mon Oct 03, 2005 4:25 am
- Location: Netherlands
-
- Posts: 4
- Joined: Mon Feb 06, 2006 9:13 am
-
- Posts: 123
- Joined: Mon Oct 03, 2005 4:25 am
- Location: Netherlands
There is no command to terminate a script.
You useto exit loops. When luaplayer has gone trough all the loops and reached the end of the script, it exits the script and goes back to the script you started it from
You use
Code: Select all
break
Behold! The Underminer got hold of a PSP
-
- Posts: 4
- Joined: Mon Feb 06, 2006 9:13 am