Site Tools
Sidebar
User's Manual
t2:combo_restart
combo_restart
combo_restart - Restart a combo
Description
combo_restart(<COMBO_IDENTIFIER>);
Restart the execution of the combo declared as <COMBO_IDENTIFIER> from its initial state.
This command has immediate effect on inactive or running combos. |
Parameters
- <COMBO_IDENTIFIER>: Identifier of the combo to restart.
Examples
Example #1 combo_restart() example
main { // If BUTTON_2 is pressed ... if(event_active(BUTTON_2)) { // ... restart the combo "Example" from its beginning. combo_restart(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_restart.txt · Last modified: 2016/11/18 04:01 by J2Kbr