Site Tools
Sidebar
User's Manual
t2:combo_pause
combo_pause
combo_pause - Pause a combo
Description
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.
Parameters
- <COMBO_IDENTIFIER>: Identifier of the combo to pause.
Examples
Example #1 combo_pause() example
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); }
See Also
t2/combo_pause.txt · Last modified: 2016/11/18 04:04 by J2Kbr