Macro(combo) on Computer Vision

GPC2 script programming for Titan Two. Code examples, questions, requests.

Macro(combo) on Computer Vision

Postby sterachan » Wed Dec 22, 2021 5:29 am

I would like to include the following macro in "apex_antirecoil_M.py".
If there is another way to trigger a macro like the one below while using anti-recoil, please let me know!

Sample
Code: Select all
main {
if (check_active(BUTTON_4,0)) combo_run(a);
if (check_active(BUTTON_4,1000)) combo_stop(a);
if (check_active(STICK_1_Y,0)) combo_stop(a);}
combo a {
set_val(STICK_1_Y,20);}
User avatar
sterachan
Private First Class
Private First Class
 
Posts: 3
Joined: Wed Sep 22, 2021 12:50 am

Re: Macro(combo) on Computer Vision

Postby Mad » Wed Dec 22, 2021 6:17 am

Hi,

You would add this to the main GPC and not the CV script.
If the script you're using is open source copy paste it at the very bottom of the script.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am

Re: Macro(combo) on Computer Vision

Postby sterachan » Wed Dec 22, 2021 8:03 am

Thank you.
Is it not feasible if I use closed source (M_ApexLegends v4.11)?
User avatar
sterachan
Private First Class
Private First Class
 
Posts: 3
Joined: Wed Sep 22, 2021 12:50 am

Re: Macro(combo) on Computer Vision

Postby Mad » Wed Dec 22, 2021 10:27 am

You'd need to ask the author if they can add it.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am


Return to GPC2 Script Programming

Who is online

Users browsing this forum: midg3t2 and 48 guests