Well, Helios, I know I would use it. So far it's the easiest to use scripting module I've seen that doesn't have external dependencies. One feature I really like about it is the simulated multi threading. This has been critical for a project I'm working on (non-game), as I need to keep a GUI updated while a worker script is processing tasks in the background. This wouldn't have been possible with DLL based scripting languages as they aren't thread safe, from what I've read anyway.
There's just somehting very nice about this:
Then I just have to have a function Exit added to the VM that sets the global bQuit to true, and I can do whatever I need to in the script while my GUI is nice and clean.
There's just somehting very nice about this:
Repeat If Thread Then Try If Thread.IsActive Then ' Run all threads in the VM with an infinate timeslice ScriptVM.RunThreads(-1) ' Check if the thread is finished if so, change status 'If Not Thread.IsActive Then SetStatus("Script finished") End If Catch e:String SetError(e) End Try End If If bQuit Then Return False Forever
Then I just have to have a function Exit added to the VM that sets the global bQuit to true, and I can do whatever I need to in the script while my GUI is nice and clean.