You know this is hlcoders not hlmappers right?

Technically you could code something that does this.. by getting the key
name, then looking up the bind.. then running that command. But I'm
guessing you're looking for a mapping way to do it, right?

Assuming you are trying to do it via a map.. Can't you just run the command
you want to run via these entities?

https://developer.valvesoftware.com/wiki/Point_servercommand
https://developer.valvesoftware.com/wiki/Point_clientcommand

It's an awful hacky way to do things but I guess if you're just mapping you
don't have much choice..

garry


On Thu, Apr 5, 2012 at 9:11 AM, Melissa Zak <miss_bee...@hotmail.com> wrote:

>  Hello friendly hlmappers!
>
> Was wondering if it was technically possible to press a key that is binded
> through the console.
> For example: I bind L to "ent_fire entity "do something here"" and then
> want the player to forcefully (virtually) press L.
>
> I found a command called "Test_SendKey" <Key> but it doesn't press buttons
> outside the console.
>
> Anything I'm missing?
>
> Thanks,
> Mel
>
>
> P.S. For some reason if you do "Test_SendKey {" it takes a screen shot.
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
>
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders

Reply via email to