Want To Make Any Button Press Null While Combo Is Running
6 posts
• Page 1 of 1
Want To Make Any Button Press Null While Combo Is Running
[
Last edited by cairo1725 on Wed Jun 28, 2023 10:04 pm, edited 1 time in total.
-
cairo1725 - Sergeant
- Posts: 8
- Joined: Wed Nov 10, 2021 5:13 am
Re: Want To Make Any Button Press Null While Combo Is Runnin
If you wanted to block select buttons you'd do it like this:
To block all input:
- Code: Select all
if(cSequence) {
set_val(BUTTON_1, 0);
set_val(BUTTON_2, 0);
}
To block all input:
- Code: Select all
if(cSequence) {
uint8 i = 0;
do { set_val(i, 0); } while (++i < 24);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4533
- Joined: Wed May 22, 2019 5:39 am
Re: Want To Make Any Button Press Null While Combo Is Runnin
Mad wrote:If you wanted to block select buttons you'd do it like this:
- Code: Select all
if(cSequence) {
set_val(BUTTON_1, 0);
set_val(BUTTON_2, 0);
}
To block all input:
- Code: Select all
if(cSequence) {
uint8 i = 0;
do { set_val(i, 0); } while (++i < 24);
}
Last edited by cairo1725 on Wed Jun 28, 2023 10:11 pm, edited 2 times in total.
-
cairo1725 - Sergeant
- Posts: 8
- Joined: Wed Nov 10, 2021 5:13 am
Re: Want To Make Any Button Press Null While Combo Is Runnin
use the second code from Mad and put it into the main section, not into your combo.
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: Want To Make Any Button Press Null While Combo Is Runnin
Scachi wrote:use the second code from Mad and put it into the main section, not into your combo.
Last edited by cairo1725 on Wed Jun 28, 2023 10:05 pm, edited 1 time in total.
-
cairo1725 - Sergeant
- Posts: 8
- Joined: Wed Nov 10, 2021 5:13 am
Re: Want To Make Any Button Press Null While Combo Is Runnin
- Code: Select all
if(cSequence) {
set_val(XB1_LX, 0);
set_val(XB1_LY, 0);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4533
- Joined: Wed May 22, 2019 5:39 am
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 73 guests