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