I'm using the GTuner language and the GTuner IV 1.1 compiler. My code seems to keep outputting the warning after compiling
GPC error: PressXInput.gpc(18): Declaration syntax error 'combo'
Using GTuner to compile this (Titan Two)
Any help to fix syntax declaration error, or even improvements on my code.
Tried declaring 'combo' as a bool/int
etc but still same error.
bool toggle;
main {
if (event_active (BUTTON_2)) {
toggle = !toggle;
combo_stop(PressX);
}
if (toggle) {
combo_run(PressX);
}
combo PressX {
set_val(BUTTON_16, 100.0);
wait(100);
wait(5000);
}
}
Expected result should show no declaration syntax error with 'combo' after compiling.