Jump to content

Featured Replies

Posted

The thing is I'm trying to bind a sequence to a key, and I can only get the first fucking thing to work. i do the form bind <key> <command>;<command>. is this not correct?

 

Ahh I think the problem is it does all these things at once. Anyone know how I can make it do the different commands one at a time. with like a half second in between each command?

bind c "radio3;wait;wait;wait;wait;slot7;wait;wait;wait"

each wait is a pause of approximately 1/10ths of a second, IIRC, as I've used it above it opens the radio menu, waits a bit, then says "Get out of there it's gonna blow!" with waits to allow the menu to open and to compensate for the pause you get after a command. I believe it's possible to use it to spam text but many more waits would be necessary.

Binds work like this:

 

bind "key" "command1; command2"

 

You generally only need to add 1-3 waits, based on what you're doing, obviously.

 

Also, the 'wait' command is influenced by your FPS. It works in the sense that, however many frames per second (FPS) you get, that's how many waits it takes to equal one second. However, your FPS can fluctuate at any given time so this rule isn't set in stone (In my case anyway).

 

I can go into greater detail on when and where to use waits if you want.

 

Also, is this for Source or 1.6 so I know how to write my examples. (I'm assuming Source)

  • Author
bind c "radio3;wait;wait;wait;wait;slot7;wait;wait;wait"

each wait is a pause of approximately 1/10ths of a second, IIRC, as I've used it above it opens the radio menu, waits a bit, then says "Get out of there it's gonna blow!" with waits to allow the menu to open and to compensate for the pause you get after a command. I believe it's possible to use it to spam text but many more waits would be necessary.

 

 

Ok thanks this helps but i'm still having problems. The waits are applying to the menu I'm trying to autonavigate as well as to the command string I'm making. So like i do slot2 on a menu in game and it doesn't change to the next menu selection until after the waits are up, so it's not working. How the hell can I get past this problem.

Okay.. Look it up seriously.. It's not hard..

When you're in play. If you're in the console and you type 'go'

it'll start radio and will say "Go, go, go!" so for example you could bind that.

When me and my friends scrimmed, we spammed with voice annoy, radio and chat. To do radio and chat at the same time. Just bind it to scroll..

bind mwheeldown "go;say GO GO GO GO GO GO GO GO GO GO GO GO GO"
bind mwheelup "go;say GO GO GO GO GO GO GO GO GO GO GO GO GO"

and to bind back, just go:

bind mwheeldown "invnext"
bind mwheelup "invprev"

  • Author
Ya. that doesn't help at all. I said I know how to bind strings of commands now, but this particular instance the wait command applys to both the command string and the action it's taking in game. In other words it isn't doing shit.
Ya. that doesn't help at all. I said I know how to bind strings of commands now, but this particular instance the wait command applys to both the command string and the action it's taking in game. In other words it isn't doing shit.

 

Tell me exactly what you're trying to achieve and I'll see what I can do. It'll be easier for me if I know what you're trying to do in game.

Guest
This topic is now closed to further replies.