English Bind Sequence

6 replies
Goto Page
To the start Previous 1 Next To the start
03.07.20 12:11:50 am
Up
pbeloto
User
Offline Off
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?
03.07.20 12:15:46 am
Up
DC
Admin
Offline Off
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.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
04.07.20 12:37:19 am
Up
pbeloto
User
Offline Off
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"
04.07.20 03:40:00 am
Up
Waldin
User
Offline Off
he literally said u cant
user Waldin (2014) has written:
can be create 3D option for tiles on 3D
user DC (2014) has written:
@user Waldin: This is a 2D game. there are no 3D tiles.
changelog (2017) has written:
ADDED Experimental 3D rendering mode
04.07.20 04:33:06 am
Up
Yuuuuuuuuuuuuuuuu
User
Offline Off
@user pbeloto:

cs2d cmd menuselect or cs2d cmd slot

bind v "menuselect 2;menuselect 3"
04.07.20 06:15:38 am
Up
pbeloto
User
Offline Off
@user Yuuuuuuuuuuuuuuuu: 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?
04.07.20 06:21:47 am
Up
Alpha Beta
User
Offline Off
@user pbeloto: Yes, look inside the autoexec.cfg file in CS2D/sys/
To the start Previous 1 Next To the start