Half-Life 2

Half-Life 2

View Stats:
bean man Aug 9, 2023 @ 9:54am
Binding console commands to "bind"
Now, I like to use console commands when I'm bored to turn the game from an FPS to a comedy show.

One of the commands I find to be absolutely hilarious is "ent_fire !picker becomeragdoll" which instantly turns the NPC under my crosshair into a ragdoll.

However, the issue that I get is that I cannot directly bind it to a key, and I have to use alias in order to execute the command by pressing a key.

Whenever I do try to bind the command to a key, it simply says in the console.

[bind <key> -Binds a key to a command.] Which is not very useful.
If you know a fix to this problem, please let me know.
Originally posted by Death Approaches:
>> "However, the issue that I get is that I cannot directly bind it to a key, and I have to use alias in order to execute the command by pressing a key."

Typical non-linux console user problem. Quoting eludes you people. :-)

try instead: bind MOUSE4 "ent_fire !picker becomeragdoll"
< >
Showing 1-3 of 3 comments
The author of this thread has indicated that this post answers the original topic.
Death Approaches Aug 9, 2023 @ 10:40am 
>> "However, the issue that I get is that I cannot directly bind it to a key, and I have to use alias in order to execute the command by pressing a key."

Typical non-linux console user problem. Quoting eludes you people. :-)

try instead: bind MOUSE4 "ent_fire !picker becomeragdoll"
bean man Aug 9, 2023 @ 11:07am 
Originally posted by Death Approaches:
>> "However, the issue that I get is that I cannot directly bind it to a key, and I have to use alias in order to execute the command by pressing a key."

Typical non-linux console user problem. Quoting eludes you people. :-)

try instead: bind MOUSE4 "ent_fire !picker becomeragdoll"
Ah, the great divider between the virgin windows 10 user and the chad linux user.
Thank you for your help.
Death Approaches Aug 9, 2023 @ 11:33am 
no one who uses Win10 daily qualifies as "virgin" in any sense of the word; that manky thing is... well, get yourself tested, is all. :steammocking: And you're welcome.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Aug 9, 2023 @ 9:54am
Posts: 3