Files
Basalt/docs/objects/Program.md
Robert Jelic 4d614372a1 Updated docs
There is still stuff to do
2022-08-28 18:18:26 +02:00

825 B

Program objects are here for opening other executable programs in your main program. You can execute worms, shell or any custom program you've made.

Object methods also apply for programs.

getStatus Returns the current program status
execute Executes a program
stop Stops the currently running program
pause Pauses the currently running program
isPaused Returns if the program is paused
injectEvent Injects a event into the program
injectEvents Injects a table of events
getQueuedEvents Returns currently queued events