Setting LED's keeps crashing my T2
12 posts
• Page 2 of 2 • 1, 2
Re: Setting LED's keeps crashing my T2
Thanks! That did the trick. The funny thing is that's exactly how my code started, but I tried to be too clever and simplify it. Ha!
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR
My R6 script: https://youtu.be/x-9NtxyySVM
My R6 script: https://youtu.be/x-9NtxyySVM
-
pablosscripts - Brigadier General
- Posts: 1976
- Joined: Tue Nov 24, 2015 6:27 am
Re: Setting LED's keeps crashing my T2
How can i do this whit 3 states? Like
- Code: Select all
if((autofire && !FIGHT_SWITCH) && !led_change_flag) {
ColorLED('G');
led_change_flag = 1;
}
if((FIGHT_SWITCH && !autofire) && !led_change_flag) {
ColorLED('R');
led_change_flag = 2;
} else if((!FIGHT_SWITCH && !autofire) && led_change_flag) {
ColorLED('W');
led_change_flag = 0;
}
-
3rne5t0 - Sergeant Major of the Army
- Posts: 210
- Joined: Mon Jan 30, 2017 10:31 am
12 posts
• Page 2 of 2 • 1, 2
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 137 guests