HELP: Command to combinate L1 & R1 - Apex PS4 with Wiimote

GPC1 script programming for Titan One. Code examples, questions, requests.

HELP: Command to combinate L1 & R1 - Apex PS4 with Wiimote

Postby TiranossauroRex » Fri Feb 15, 2019 10:48 pm

I use the Wiimote to play Apex Legends, then the command for special skill is L1 + R1, right.
As it's already mapped (i use the Giorgio's script modified), the problem is the way to push the two buttons is bad to do this, because the L1 is Wii UP and R1 is Wii Plus. Then, need to create one command i want to do so:
I press two buttons (Wii Down and Wii C) to execute the Wii Up and Wii Plus, then in the script, i copied the line of the existing method of Giorgio's script and added in last line above, but doesn't work and the button fire (R2) is dead... help!!

Code: Select all
if(get_val(WII_DOWN) && get_val(WII_NX) < -90) set_val(WII_X100)// left
if(get_val(WII_DOWN) && get_val(WII_NX)90) set_val(WII_RX, 100)// right
if(get_val(WII_DOWN) && get_val(WII_NY) < -90) set_val(WII_Y100)// up
if(get_val(WII_DOWN) && get_val(WII_NY)90) set_val(WII_RY, 100)// down
if(get_val(WII_DOWN) && get_val(WII_C)) set_val(WII_UP, 100), set_val(WII_PLUS, 100); // activate the L1 and R1 toghether
User avatar
TiranossauroRex
Sergeant First Class
Sergeant First Class
 
Posts: 21
Joined: Sun Sep 03, 2017 5:01 am

Re: HELP: Command to combinate L1 & R1 - Apex PS4 with Wiimo

Postby TiranossauroRex » Sat Feb 16, 2019 7:50 pm

I managed to fix the problem!! I removed that last line and made this:

Code: Select all
if ((get_val(WII_DOWN)) && (get_val(WII_NX)90)) // RIGHT - Holding the command open the grenade select without moving.
{
       set_val(WII_NX,   0);
       set_val(WII_RX, 100);
}
User avatar
TiranossauroRex
Sergeant First Class
Sergeant First Class
 
Posts: 21
Joined: Sun Sep 03, 2017 5:01 am

Re: HELP: Command to combinate L1 & R1 - Apex PS4 with Wiimo

Postby J2Kbr » Mon Feb 18, 2019 5:15 pm

TiranossauroRex wrote:I managed to fix the problem!!

:joia:
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm


Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 41 guests