call - Call a combo
call(<COMBO_IDENTIFIER>);
Start the execution of the combo declared as <COMBO_IDENTIFIER> and waits the called combo to finish before continue the execution of current combo.
The call() statement belongs exclusively to combos and cannot exist inside conditionals. |
combo Example { // This is the first combo state. set_val(BUTTON_4, 100.0); set_val(BUTTON_7, 100.0); wait(250); // After 250 milli-seconds the combo moves to the next state. // This is the second combo state. // In this state the combo "PressSix" is called. call(PressSix); // call waits the combo "PressSix" to finish before move to the next state. // This is the third combo state. set_val(BUTTON_8, 100.0); wait(80); } combo PressSix { set_val(BUTTON_6, 100.0); wait(120); }