NEED SCRIPT HELP
6 posts
• Page 1 of 1
NEED SCRIPT HELP
i made a script but when i run it i keep getting a error?
Can someone please help me fix this
Thanks.
Can someone please help me fix this
Thanks.
- Code: Select all
/* *
* GPC SCRIPT
*
* GPC is a scripting language with C-like syntax.
* To learn more access GPC Language Reference on Help menu.
* *********************************************************** */
main {
//
// 3/7/2018 2:28:27 PM
// Combo generated by Combo Magick Plugin
//----------------------------------------
combo magick {
set_val(XB1_Y, 100);
wait(140);
set_val(XB1_Y, 0);
wait(3770);
set_val(XB1_B, 100);
wait(1920);
set_val(XB1_B, 0);
wait(3560);
set_val(XB1_Y, 100);
wait(140);
set_val(XB1_Y, 0);
wait(4000);
set_val(XB1_Y, 100);
wait(160);
set_val(XB1_Y, 0);
wait(2640);
set_val(XB1_RT, 100);
wait(160);
set_val(XB1_RT, 0);
}
//
// The main procedure is called before every report be sent to
// console, you can think in this procedure as a loop which only
// ends when the script is unloaded.
//
// TODO: handle/change values of buttons, analog stick and/or sensors
//
}
I Love Pugs :D
-
Puggelicious - Sergeant First Class
- Posts: 18
- Joined: Tue Jul 25, 2017 12:36 pm
Re: NEED SCRIPT HELP
Yes you have paste the combo inside the main block, that is not allowed.
Here is how to do:
Take a look here, there is everything you need to know to use the Combo Magick plugin:
viewtopic.php?f=18&t=5873#p43523
Here is how to do:
- Code: Select all
main {
//
// The main procedure is called before every report be sent to
// console, you can think in this procedure as a loop which only
// ends when the script is unloaded.
//
// TODO: handle/change values of buttons, analog stick and/or sensors
//
}
//
// 3/7/2018 2:28:27 PM
// Combo generated by Combo Magick Plugin
//----------------------------------------
combo magick {
set_val(XB1_Y, 100);
wait(140);
set_val(XB1_Y, 0);
wait(3770);
set_val(XB1_B, 100);
wait(1920);
set_val(XB1_B, 0);
wait(3560);
set_val(XB1_Y, 100);
wait(140);
set_val(XB1_Y, 0);
wait(4000);
set_val(XB1_Y, 100);
wait(160);
set_val(XB1_Y, 0);
wait(2640);
set_val(XB1_RT, 100);
wait(160);
set_val(XB1_RT, 0);
}
Take a look here, there is everything you need to know to use the Combo Magick plugin:
viewtopic.php?f=18&t=5873#p43523
Console tuner since my 1st controller.
Scripting, a game in the game.
Believe or dare, It's Titanic!
Scripting, a game in the game.
Believe or dare, It's Titanic!
-
Prototype - Major General
- Posts: 3252
- Joined: Sun Dec 16, 2012 1:43 pm
Re: NEED SCRIPT HELP
Thanks for the edit sir. Im currently having a issue though as it will not run when i put it on my titan one?
Any fix for this?
Any fix for this?
I Love Pugs :D
-
Puggelicious - Sergeant First Class
- Posts: 18
- Joined: Tue Jul 25, 2017 12:36 pm
Re: NEED SCRIPT HELP
For sure it don't run like that, how do you want to run the combo? There is some examples in the tutorial.
Console tuner since my 1st controller.
Scripting, a game in the game.
Believe or dare, It's Titanic!
Scripting, a game in the game.
Believe or dare, It's Titanic!
-
Prototype - Major General
- Posts: 3252
- Joined: Sun Dec 16, 2012 1:43 pm
Re: NEED SCRIPT HELP
i just want the combo to run and loop as soon as i plug it in to my xbox one.
I Love Pugs :D
-
Puggelicious - Sergeant First Class
- Posts: 18
- Joined: Tue Jul 25, 2017 12:36 pm
Re: NEED SCRIPT HELP
Puggelicious wrote:i just want the combo to run and loop as soon as i plug it in to my xbox one.
so this will do:
- Code: Select all
main {
combo_run(magick);
}
//
// 3/7/2018 2:28:27 PM
// Combo generated by Combo Magick Plugin
//----------------------------------------
combo magick {
set_val(XB1_Y, 100);
wait(140);
set_val(XB1_Y, 0);
wait(3770);
set_val(XB1_B, 100);
wait(1920);
set_val(XB1_B, 0);
wait(3560);
set_val(XB1_Y, 100);
wait(140);
set_val(XB1_Y, 0);
wait(4000);
set_val(XB1_Y, 100);
wait(160);
set_val(XB1_Y, 0);
wait(2640);
set_val(XB1_RT, 100);
wait(160);
set_val(XB1_RT, 0);
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: chuless and 137 guests