Running the procedure
There are few ways of running the procedure.
- The first one is to select the procedure or one of the procedures subcommand and the procedure tree and hitting the
button on the toolbar. The new window should pop up - you will be able to enter the number of procedure calls, minimal and maximal time interspace between procedures call, the time before the first proceure call, all procedure arguments values and the player name as well.
- The second way of executing the procedure, is to define the keyboard shortcut: 'Edit' -> 'Keyboard shortcuts'. The variable choice, the number of executions and other settings are available under the 'Set.' button for every shortcut row. Please note the option 'shortcuts active while any of the procedure is executed' option in keyboard shortcuts window and the option 'Shortcuts active' in main menu 'Edit'. If any of this option is disabled, keyboard shortcuts may not work.
- Another way to execute the procedure is to insert proper element into another procedure. Then the new procedure will be executed during that element execution.
Procedure (player) execution may be stopped or paused at any moment. To stop all executed procedures, press keyboard Scroll lock key or toolbar button
. You may also stop one, selected process by selecting it with right mouse button and choosing 'Stop this process'.
- Procedures may also be executed automaticly by listeners (see section 4.5.3: ''sec:Listeners'').
To pause all players select keyboard key Pause/break or toolbar button
. When the player is paused, there are some debug options available on it - Select the process with mouse right click from 'Play list'. Then
- select 'Show memory', to see all values of variables from memory of the selected process,
- select 'Show stack trace', to see the stack trase of selected process.
krzys
2017-07-19