Forum

> > CS2D > Scripts > 'wait' function for bind
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch 'wait' function for bind

14 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt 'wait' function for bind

JONY
User Off Offline

Zitieren
In CS1.6 there was a binding function 'wait', which waited until the last instruction ended and only then started the next instruction. Is there such function/alternative in cs2d?
The problem is that when I bind my mouse wheel like this:
1
bind mouse3 "attack2;attack2;menuselect 5"
it only does the first attack2 (this script is for fast build of Wall III in Construction mode), because there's a delay until you can do the next attack2.

alt Re: 'wait' function for bind

JONY
User Off Offline

Zitieren
no.. that doesnt matter (I knew it, but I rechecked just now in game).
It only does the first "attack2", but not the other 2 instructions.

alt Re: 'wait' function for bind

DannyDeth
User Off Offline

Zitieren
Tried seperating the things with commas instead of semi-colons? I think that is your problem, simply because it is only doing the first one and then finding an error, therefore skipping the rest of the code.

alt Re: 'wait' function for bind

JONY
User Off Offline

Zitieren
No no... You have to separate commands with semi-colon, not with comma, but I've tried your method and it gives me an error: ERROR: Unknown command 'attack2,attack2,menuselect'

alt Re: 'wait' function for bind

DC
Admin Off Offline

Zitieren
there is no command like wait and there will be no command like wait.

it's not possible to bind the building-process to keys (unless serverside lua is involved)
1× editiert, zuletzt 16.01.11 00:15:24

alt Re: 'wait' function for bind

JONY
User Off Offline

Zitieren
Then it's impossible to do 'fast-build' with this script: bind "mouse3" "attack2; attack2; menuselect 5" ?
Really no alternative?

Edit: it's not building-process... Im just right clicking with wretch, then right click again to choose this tile, then select menu option 5.

alt Re: 'wait' function for bind

were50
User Off Offline

Zitieren
- D1aMoNd_ hat geschrieben
If you add a "wait" command, everyone would 1-click awp shot. Bad idea


Yea I agree. This would make snipers really cheap o.o Then after the shot they would also add a part to zoom out. I think DC thought about this and thats why he's not adding it.

alt Re: 'wait' function for bind

DC
Admin Off Offline

Zitieren
yes, it allows you to automate certain processes too much which is pretty unfair (nearly like cheating). that's the main reason why I don't implement a wait command.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht