record and run macros

Gtuner IV general support. Operation, questions, updates, feature request.

Re: record and run macros

Postby Prototype » Mon Aug 17, 2020 6:21 pm

abbasbj wrote:
prototype wrote:It's the copy to clipboard feature, it copys the marco into a combo to a text to be pasted in a script.

if((angle < -157.5 && angle >= -180.0)
|| (angle > 157.5 && angle <= 180.0)) {
// combo_run(COMBO_1); // UP
macro_run("Example1.gmk");
} else if(angle > -157.5 && angle <= -112.5) {
// combo_run(COMBO_2); // UP LEFT
macro_run("Example2.gmk");
}
So is that? Isn't there any other way to stick it?

No it's not that. Converting a macro to combo just create a combo of the macro to be pasted/used in a script. What are you trying to do ?

When you click "convert macro to combo", after that, open a new script and do Ctrl+V to paste the combo into the script.
Console tuner since my 1st controller.
Scripting, a game in the game.
Believe or dare, It's Titanic! :smile0517:
User avatar
Prototype
Major General
Major General
 
Posts: 3252
Joined: Sun Dec 16, 2012 1:43 pm

Re: record and run macros

Postby abbasbj » Mon Aug 17, 2020 11:05 pm

what am i trying to do :
I want to run the "fighting combos template" template you made.
In the fighting game, I want her to do 2 -3 different moves in a row.

Can you add 2 different random movements to this template in your spare time. I pasted long articles. too complicated for someone who doesn't know.

I did ctrl + V, they came out, I did not understand anything.

combo Macro2Combo {
set_val(BUTTON_4, 0.00);
set_val(BUTTON_11, 0.00);
set_val(BUTTON_13, 0.00);
set_val(BUTTON_15, 0.00);
set_val(BUTTON_16, 0.00);
set_val(BUTTON_17, 0.00);
set_val(STICK_2_Y, -6.55);
wait(680);
set_val(BUTTON_4, 0.00);
set_val(BUTTON_11, 100.00);
set_val(BUTTON_13, 0.00);
set_val(BUTTON_15, 0.00);
set_val(BUTTON_16, 0.00);
set_val(BUTTON_17, 0.00);
set_val(STICK_2_Y, -6.55);
wait(20);
set_val(BUTTON_4, 0.00);
set_val(BUTTON_11, 100.00);
set_val(BUTTON_13, 100.00);
set_val(BUTTON_15, 0.00);
set_val(BUTTON_16, 0.00);
set_val(BUTTON_17, 0.00);
set_val(STICK_2_Y, -6.55);
wait(20);
set_val(BUTTON_4, 0.00);
set_val(BUTTON_11, 0.00);
set_val(BUTTON_13, 100.00);
set_val(BUTTON_15, 0.00);
set_val(BUTTON_16, 0.00);
set_val(BUTTON_17, 0.00);
set_val(STICK_2_Y, -6.55)
User avatar
abbasbj
First Sergeant
First Sergeant
 
Posts: 58
Joined: Sat Feb 01, 2020 10:16 pm

Re: record and run macros

Postby Prototype » Tue Aug 18, 2020 7:25 am

Why to convert the macro to a combo here ? The script you show uses only the macro, there is no need to convert. Just make your macro with all the moves that you want and run it with the script.
Console tuner since my 1st controller.
Scripting, a game in the game.
Believe or dare, It's Titanic! :smile0517:
User avatar
Prototype
Major General
Major General
 
Posts: 3252
Joined: Sun Dec 16, 2012 1:43 pm

Previous

Return to Gtuner IV Support

Who is online

Users browsing this forum: No registered users and 134 guests