Forum

> > CS2D > Servers > Bind Sequence
Forums overviewCS2D overview Servers overviewLog in to reply

English Bind Sequence

6 replies
To the start Previous 1 Next To the start

old Bind Sequence

pbeloto
User Off Offline

Quote
Good night, I would like a help with.

I usually use binds in my game, I would like to know how I can make a bind sequence with just one key.

Example: I want to open an F2 menu, then click button three (3) and then button two (2).


I imagined the command,
" bind "x" "ServerAction2;MenuItem3;MenuItem2" "

but it did not work

can you help me?

old Re: Bind Sequence

DC
Admin Off Offline

Quote
cs2d cmd bind executes actions directly without waiting. serveraction however needs to send a request to the server and wait for the response. This means it's delayed. Subsequent actions won't be executed properly.

CS2D doesn't support special actions like "wait" or something to deal with this. So unfortunately it's not possible to automate all kinds of interactions with bind but only a few ones.

This has never been changed (and probably won't ever be changed) because it comes with the risk that people may exploit scripting to cause harm / get huge advantages in certain situations.

old Re: Bind Sequence

pbeloto
User Off Offline

Quote
OK !!!
How do I use the command "Menu Item 2" ???

I'm thinking of making a bind to open the menu and one to click on the menu.

Example:

bind "x" "ServerAction 2"

bind "c" "MenuItem 2"

bind "v" "MenuItem 3"

old Re: Bind Sequence

pbeloto
User Off Offline

Quote
@user Yunuu: thank you very much.

Another doubt, is there any way to save these bind so that it is executed as soon as I open the game?
To the start Previous 1 Next To the start
Log in to reply Servers overviewCS2D overviewForums overview