Hi,

In Source, you can write alias in autoexec.cfg file ala : alias
"name_of_alias" "cmd1; cmd2; cmd3".

I'd like to be able to check each command in the alias when this alias is
executed. I thought it was possible by studying pszCurrentBinding in int
CInput::KeyEvent( int down, ButtonCode_t code, const char *pszCurrentBinding
) in in_main.cpp but it failt as pszCurrentBinding is containing the alias
"name_of_alias" and not the primitive command.
As it is returning 1, it is up to the engine to process this command. I
imagine that the engine is able to properly parse the primitive commands.
I'd like to know if there is an other location to get these primitive
commands. How would you proceed ?

Thank you in advance for your help.

-------------------
j...@nek
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to