combo_pause - Pause a combo
combo_pause(<COMBO_IDENTIFIER>);
Pause the execution of the combo declared as <COMBO_IDENTIFIER>. The execution of the combo can be resumed with combo_run
command.
main { // If BUTTON_2 is pressed ... if(event_active(BUTTON_2)) { // ... check if the combo "Example" is running ... if(Example) { // ... if yes, pause it. combo_pause(Example); } else { // ... if not, run it. combo_run(Example); } } } combo Example { set_val(BUTTON_4, 100.0); wait(1000); set_val(BUTTON_8, 100.0); wait(1000); set_val(BUTTON_16, 100.0); wait(1000); }