Sorry, but I would like to understand one thing: is it possible for a plugin to return control to hollywood for a moment, and then return to the plugin?
I was writing a plugin using 6502lib, but the execution cycle goes on forever, so I need to return control to hollywood.
It's possible?
Or maybe run hollywood commands from c?
Return control to Hollywood!
- airsoftsoftwair
- Posts: 5673
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Return control to Hollywood!
Having a plugin command take over Hollywood and never returning control is a very bad idea. This will block GUI and event handling. Instead, you should force the script to continously call your command in a loop so that Hollywood will still be able to do its housekeeping, i.e. something like:
Code: Select all
Repeat
YourPluginCommand()
Forever