Raised This Month: $ Target: $400
 0% 

Menu select bind


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Vliket
Junior Member
Join Date: Feb 2017
Old 07-05-2017 , 10:26   Menu select bind
Reply With Quote #1

Greetings.

I have question about how to bind something in menu like :

I need to type in chat /hns and after that need to click on 6 to choose VIP items that will open new menu and in that menu i need to click on 5 and thats Invincible.

My question is how to bind this whole action on some key like F1 i know only how to bind say /hns in console but thats all i know that bind is something like menuselect;6;menuselect;5 etc.. can someone help me ?

say /hns then menuselect 6 and then menuselect 5
Vliket is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-05-2017 , 10:39   Re: Menu select bind
Reply With Quote #2

You can't on a key like F1. You can register commands such as drop, radio1, chat, spray, etc and put it there.
__________________

Last edited by OciXCrom; 07-05-2017 at 10:40.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 07-05-2017 , 21:17   Re: Menu select bind
Reply With Quote #3

Quote:
Originally Posted by OciXCrom View Post
You can't on a key like F1.
You can hook F1 and F2 using cl_autobuy, cl_rebuy, cl_setautobuy...
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
Vliket
Junior Member
Join Date: Feb 2017
Old 07-05-2017 , 10:47   Re: Menu select bind
Reply With Quote #4

It was an example, but i saw guy who was using this command and it works for him i just forget it or its script idk.
Vliket is offline
Rohanlogs
Senior Member
Join Date: Nov 2015
Old 07-06-2017 , 01:23   Re: Menu select bind
Reply With Quote #5

Quote:
Originally Posted by Vliket View Post
It was an example, but i saw guy who was using this command and it works for him i just forget it or its script idk.
If you saw a guy with this "bind", he was probably using some kind of macro or there's a command for Invincible in that plugin.
If there's a command for it you just use bind f1 hns_invincible or something.
Also if there's no command, its not hard to add it if you have the source code.
__________________
Rohanlogs is offline
SpannerSpammer
Member
Join Date: Mar 2006
Old 07-06-2017 , 02:30   Re: Menu select bind
Reply With Quote #6

Code:
alias "msel5"       "menuselect 5"
alias "msel6"       "menuselect 6"
alias "6t"          "wait; wait; wait; wait; wait; wait"
alias "hns_menu"    "say /hns"
alias "hns_invin"   "hns_menu; 6t; msel6; 6t; msel5"
bind F1 "hns_invin"
Put this in one of your config files (autoexec etc).

I don't know if this will work going through multiple menus like
that but try it, add more wait commands as needed.
__________________
[NeoTF|DEV]SpannerSpammer-[AoE]-
NeoTF Development Team.
http://steamcommunity.com/groups/neotf
SpannerSpammer is offline
Vliket
Junior Member
Join Date: Feb 2017
Old 07-06-2017 , 07:03   Re: Menu select bind
Reply With Quote #7

Quote:
Originally Posted by SpannerSpammer View Post
Code:
alias "msel5"       "menuselect 5"
alias "msel6"       "menuselect 6"
alias "6t"          "wait; wait; wait; wait; wait; wait"
alias "hns_menu"    "say /hns"
alias "hns_invin"   "hns_menu; 6t; msel6; 6t; msel5"
bind F1 "hns_invin"
Put this in one of your config files (autoexec etc).

I don't know if this will work going through multiple menus like
that but try it, add more wait commands as needed.
Wow, it works! Thanks for your help !

edit. And if i wanna bind more things like Boots of speed or some items on Furien where i can find those names ? Like hns_invin etc??

Last edited by Vliket; 07-06-2017 at 07:14.
Vliket is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-05-2017 , 10:55   Re: Menu select bind
Reply With Quote #8

(bind F1 slot5) but only the client can execute this command..
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 07-05-2017 at 10:56.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-05-2017 , 22:12   Re: Menu select bind
Reply With Quote #9

... unless the user has changed their binds (which is common).
__________________
fysiks is online now
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-06-2017 , 09:40   Re: Menu select bind
Reply With Quote #10

So, it looks like this is NOT a Scripting Help question. In that case, the question makes much more sense.
__________________
fysiks is online now
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode