Help with T2 Script
3 posts
• Page 1 of 1
Help with T2 Script
I'm trying to figure out how to stop a combo from repeating itself once it's held down?
L2 (ADS_BTN) + L3 runs combo Build Wall but when i hold it down (even for a split second) it repeats itself which kinda messes me up
Is there a way I can make the combo execute only 1 time?
L2 (ADS_BTN) + L3 runs combo Build Wall but when i hold it down (even for a split second) it repeats itself which kinda messes me up
Is there a way I can make the combo execute only 1 time?
- Code: Select all
//Auto Build
if (get_val(ADS_BTN) && get_val(PS4_L3)) {
combo_run(BUILD_WALL);
set_val(PS4_CIRCLE, 0);
} else
{combo_stop(BUILD_WALL);}
- Code: Select all
combo BUILD_WALL {
wait(20);
wait(5);
set_val(BUILD_BTN, 100);
wait(40);
wait(40);
set_val(FIRE_BTN, 100);
wait(40);
wait(40);
set_val(FIRE_BTN, 100);
wait(90);
wait(50);
} //end
-
VvV - Sergeant Major
- Posts: 87
- Joined: Mon Jun 18, 2018 12:04 pm
Re: Help with T2 Script
VvV wrote:Is there a way I can make the combo execute only 1 time?
- Code: Select all
//Auto Build
if(is_active(ADS_BTN)) {
if(event_active(PS4_L3)) combo_run(BUILD_WALL);
if(BUILD_WALL) set_val(PS4_CIRCLE, 0);
} else combo_stop(BUILD_WALL);
Try this
-
DontAtMe - Captain
- Posts: 502
- Joined: Tue Oct 02, 2018 4:49 am
Re: Help with T2 Script
DontAtMe wrote:VvV wrote:Is there a way I can make the combo execute only 1 time?
- Code: Select all
//Auto Build
if(is_active(ADS_BTN)) {
if(event_active(PS4_L3)) combo_run(BUILD_WALL);
if(BUILD_WALL) set_val(PS4_CIRCLE, 0);
} else combo_stop(BUILD_WALL);
Try this
Yes it works perfectly
Thanks for the quick response as well
-
VvV - Sergeant Major
- Posts: 87
- Joined: Mon Jun 18, 2018 12:04 pm
3 posts
• Page 1 of 1
Return to GPC2 Script Programming
Who is online
Users browsing this forum: Baidu [Spider] and 115 guests