Post: Help with changing menu controls
11-01-2015, 05:28 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Menu controls::

____________________________________________________________________________________

// Scroll Up
if(self adsButtonPressed())
{
scroll(-1);
self playsoundtoplayer("cac_grid_nav",self);
wait 0.124;
}

// Scroll Down
if(self attackButtonPressed())
{
scroll(1);
self playsoundtoplayer("cac_grid_nav",self);
wait 0.124;
}

// Select
if(self jumpButtonPressed())
{
select();
wait 0.18;
}

// Close Menu
if(self useButtonPressed())
{
if(!isEmpty(self.surge["menu"][self getCurrentMenu()]["parent"]))
{
self changeMenu(self.surge["menu"][self getCurrentMenu()]["parent"]);
self playsoundtoplayer("cac_screen_hpan",self);
}
else
{
exitMenu();
}
wait 0.20;
}

// Exit
if(self meleeButtonPressed() || self stanceButtonPressed())
exitMenu();
}
else
{
// Opens the menu
if(self actionSlotOneButtonPressed())
{
wait 0.12; // This needs to be here or we will scroll on menu open.
self thread monitorPlayerMenu();
self updatePlayersMenu();
runMenu(self.surge["menu"]["current"]);
}

____________________________________________________________________________________

Need help changing

Scroll Up to Dpad-Up
Scroll Down to Dpad-Down
Open Menu to Aim+Knife
Close Menu to Knife
Select to A-Button
Go Back to B-Button
(adsbygoogle = window.adsbygoogle || []).push({});
11-01-2015, 06:50 PM #2
-Numb
You talkin to me?
Originally posted by SewerModding View Post
Menu controls::

____________________________________________________________________________________

// Scroll Up
if(self adsButtonPressed())
{
scroll(-1);
self playsoundtoplayer("cac_grid_nav",self);
wait 0.124;
}

// Scroll Down
if(self attackButtonPressed())
{
scroll(1);
self playsoundtoplayer("cac_grid_nav",self);
wait 0.124;
}

// Select
if(self jumpButtonPressed())
{
select();
wait 0.18;
}

// Close Menu
if(self useButtonPressed())
{
if(!isEmpty(self.surge["menu"][self getCurrentMenu()]["parent"]))
{
self changeMenu(self.surge["menu"][self getCurrentMenu()]["parent"]);
self playsoundtoplayer("cac_screen_hpan",self);
}
else
{
exitMenu();
}
wait 0.20;
}

// Exit
if(self meleeButtonPressed() || self stanceButtonPressed())
exitMenu();
}
else
{
// Opens the menu
if(self actionSlotOneButtonPressed())
{
wait 0.12; // This needs to be here or we will scroll on menu open.
self thread monitorPlayerMenu();
self updatePlayersMenu();
runMenu(self.surge["menu"]["current"]);
}

____________________________________________________________________________________

Need help changing

Scroll Up to Dpad-Up
Scroll Down to Dpad-Down
Open Menu to Aim+Knife
Close Menu to Knife
Select to A-Button
Go Back to B-Button


Go here You must login or register to view this content. and scroll to the third option "button codes" and put the name of the new button you want instead of the one that is there
11-01-2015, 06:51 PM #3
Procyon
Gym leader
DPAD Up: self actionslotonebuttonpressed()
DPAD Down: self actionslottwobuttonpressed()
Aim & Knife: self adsbuttonpressed() && self meleebuttonpressed()
I think A is X so: self jumpbuttonpressed()
And i believe that B is O: self stancebuttonpressed()
11-01-2015, 07:28 PM #4
Originally posted by Procyon View Post
DPAD Up: self actionslotonebuttonpressed()
DPAD Down: self actionslottwobuttonpressed()
Aim & Knife: self adsbuttonpressed() && self meleebuttonpressed()
I think A is X so: self jumpbuttonpressed()
And i believe that B is O: self stancebuttonpressed()


Thanks
11-02-2015, 03:39 AM #5
Dpads not working
11-02-2015, 06:55 AM #6
Procyon
Gym leader
Originally posted by SewerModding View Post
Dpads not working


Self freezecontrols(false);
11-02-2015, 08:22 PM #7
Originally posted by Procyon View Post
Self freezecontrols(false);


Where do I add that
11-02-2015, 08:32 PM #8
Procyon
Gym leader
Originally posted by SewerModding View Post
Where do I add that

depends on the base: onPlayerSpawned()
11-02-2015, 08:59 PM #9
self freezecontrols(false);

Is already added but DPads not working
11-02-2015, 09:36 PM #10
-Numb
You talkin to me?
Originally posted by SewerModding View Post
self freezecontrols(false);

Is already added but DPads not working


You dont gotta add that, you have to find self freezecontrols(true); on the open menu function the remove that Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo