Site Tools
Sidebar
User's Manual
t2:combo_run
combo_run
combo_run - Run a combo
Description
combo_run(<COMBO_IDENTIFIER>);
Run the combo declared as <COMBO_IDENTIFIER> from its current state. Normally the current state of an inactive combo is the initial state, unless combo_pause
is executed.
This command has no effect if the combo is already running. combo_run can be called indiscriminately to keep the combo running indefinitely. |
Parameters
- <COMBO_IDENTIFIER>: Identifier of the combo to run.
Examples
Example #1 combo_run() example
main { // While BUTTON_2 is held-down ... if(get_val(BUTTON_2)) { // ... keep the combo "Example" running in an endless loop. combo_run(Example); } } combo Example { set_val(BUTTON_4, 100.0); wait(50); set_val(BUTTON_8, 100.0); wait(50); set_val(BUTTON_16, 100.0); wait(50); }
See Also
t2/combo_run.txt · Last modified: 2016/11/18 03:55 by J2Kbr