script for 3 buttons in succession doesnt input the last but

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

script for 3 buttons in succession doesnt input the last but

Postby souler92 » Thu Mar 14, 2019 10:30 pm

i have a script that press d pad right then R3 and then cross for ps4

i have a combo on the cemu extra 1 button.

its just as simple as
set val ps4 right, 100
wait 10
set val ps4 R3 , 100
wait 10
set val ps4 cross 100


but it doesnt register the cross

even if i only put set val cross 100 in the combo it doesnt work...

it does work when i do
set val cross 0
wait
set val crosa 100
wait
set val cross 100



someone can help me with this? because the amount of wait is a too big of a delay
User avatar
souler92
Master Sergeant
Master Sergeant
 
Posts: 34
Joined: Thu Jul 05, 2018 11:00 am

Re: script for 3 buttons in succession doesnt input the last

Postby J2Kbr » Sat Mar 16, 2019 12:02 pm

a wait time of 10 (10ms) is too fast, the game will not register consistently. Try change to at least 30.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: script for 3 buttons in succession doesnt input the last

Postby souler92 » Sat Mar 16, 2019 4:14 pm

okay.

also it seems like its looping?

i just want to press 1 button, to press the 3 buttons. is it the right combo?
User avatar
souler92
Master Sergeant
Master Sergeant
 
Posts: 34
Joined: Thu Jul 05, 2018 11:00 am

Re: script for 3 buttons in succession doesnt input the last

Postby souler92 » Sat Mar 16, 2019 4:52 pm

30 ms didnt work either. it just doesnt press the X
User avatar
souler92
Master Sergeant
Master Sergeant
 
Posts: 34
Joined: Thu Jul 05, 2018 11:00 am

Re: script for 3 buttons in succession doesnt input the last

Postby J2Kbr » Sun Mar 17, 2019 9:14 am

After the last set_val(); also add a wait(30);
if not the last button press will not be registered.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: script for 3 buttons in succession doesnt input the last

Postby souler92 » Tue Mar 19, 2019 4:38 am

thats it! OMG lifesaver
User avatar
souler92
Master Sergeant
Master Sergeant
 
Posts: 34
Joined: Thu Jul 05, 2018 11:00 am


Return to Gtuner Pro Support

Who is online

Users browsing this forum: No registered users and 47 guests