Debriefing > Questions, Help, & How To's
Help with script
(1/1)
keefy:
After reading a thread about using controllers and seeing a few more people ask about them it got me thinking about scripts to bind multiple actions to a single key thus freeing up more buttons on the controllers.
So one idea I thought would be to have the gameplay help and weaponset help binded onto 1 key but I cant get it to function.
so far I have this
--- Code: ---
alias help "cl_ge_gameplay_help;bind h help2"
alias help2 "cl_ge_weaponset_list;bind h help3"
alias help3 "cl_ge_weaponset_list;bind h help"
bind "h" "help"
--- End code ---
but using that doesn't work it simply prints out in the console "unknown command cl_ge_gameplay_help"
Anyone know where I am going wrong?
VC:
Is cl_ge_gameplay_help the right command? I don't need help so I am unfamiliar, but I haven't seen us stack tags like cl_ge_*
As a Good Practice, bind only once. You want H to always call your help feature, so change the help feature, not the key's function.
bind h "help_cycle"
alias help1 "cl_ge_gameplay_help; alias help_cycle help2"
alias help2 "cl_ge_weaponset_list; alias help_cycle help3"
alias help3 "cl_ge_weaponset_list; alias help_cycle help1"
alias help_cycle help1
keefy:
Those are the correct commands i did key_listboundkeys in cosole to check.
Same results :(
It cycles fine but for some reason the commands arenot recognised.
even entering them directly into console brings up Unknown command: cl_ge_gameplay_help Which is weird because they work when binded to a key.
Navigation
[0] Message Index
Go to full version