GoldenEye: Source Forums

Debriefing => Questions, Help, & How To's => Topic started by: keefy on February 25, 2010, 01:24:19 pm

Title: Help with script
Post by: keefy on February 25, 2010, 01:24:19 pm
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: [Select]
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"


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?
Title: Re: Help with script
Post by: VC on February 25, 2010, 01:51:08 pm
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
Title: Re: Help with script
Post by: keefy on February 25, 2010, 02:21:02 pm
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.