Dub
2012-08-13 09:37:59
Okay this may sound really retarded, but I'm wondering if you can assign a hotkey to the Pause function of a script in Simba…
Theres CTRL+ALT+R for run and CTRL+ALT+S for stop, but there's no pause hotkey.
I tried creating it myself with a small procedure below:
So… What function or procedure do I call to make it pause my script?
Theres CTRL+ALT+R for run and CTRL+ALT+S for stop, but there's no pause hotkey.
I tried creating it myself with a small procedure below:
Procedure PauseIt;
begin
if IsKeyDown(127) // that's DEL on your keyboard
then begin
[I]A command that will tell the script to shut down goes here[/I]
end else
wait(10);
end;
So… What function or procedure do I call to make it pause my script?