So I've been trying to get a set of binds to work so that I can use 1, 2, and 3 to switch between Bullet, Blast, and Fire resistances without having to double-tap scroll wheel or whatever. However, I'm having problems with putting two of the same command into one alias (i.e. +attack3 twice to switch from bullet to fire).
Here's what I've got in my medic.cfg:
alias bullet "bind 1 +bubu;bind 2 +bubl;bind 3 +bufi"
alias blast "bind 1 +blbu;bind 2 +blbl;bind 3 +blfi"
alias fire "bind 1 +fibu;bind 2 +fibl;bind 3 +fifi"
alias +bubu ""
alias +bubl "+attack3"
alias +bufi "+attack3;-attack3;+attack3" //???
alias +blbu "+attack3;-attack3;+attack3" //???
alias +blbl ""
alias +blfi "+attack3"
alias +fibu "+attack3"
alias +fibl "+attack3;-attack3;+attack3" //???
alias +fifi ""
alias -bubu ""
alias -bubl "-attack3;blast"
alias -bufi "-attack3;fire" //???
alias -blbu "-attack3;bullet" //???
alias -blbl ""
alias -blfi "-attack3;fire"
alias -fibu "-attack3;bullet"
alias -fibl "-attack3;blast" //???
alias -fifi ""
bullet
I've put //??? after each problematic alias. Can anyone help?
So I've been trying to get a set of binds to work so that I can use 1, 2, and 3 to switch between Bullet, Blast, and Fire resistances without having to double-tap scroll wheel or whatever. However, I'm having problems with putting two of the same command into one alias (i.e. +attack3 twice to switch from bullet to fire).
Here's what I've got in my medic.cfg:
[quote]
alias bullet "bind 1 +bubu;bind 2 +bubl;bind 3 +bufi"
alias blast "bind 1 +blbu;bind 2 +blbl;bind 3 +blfi"
alias fire "bind 1 +fibu;bind 2 +fibl;bind 3 +fifi"
alias +bubu ""
alias +bubl "+attack3"
alias +bufi "+attack3;-attack3;+attack3" //???
alias +blbu "+attack3;-attack3;+attack3" //???
alias +blbl ""
alias +blfi "+attack3"
alias +fibu "+attack3"
alias +fibl "+attack3;-attack3;+attack3" //???
alias +fifi ""
alias -bubu ""
alias -bubl "-attack3;blast"
alias -bufi "-attack3;fire" //???
alias -blbu "-attack3;bullet" //???
alias -blbl ""
alias -blfi "-attack3;fire"
alias -fibu "-attack3;bullet"
alias -fibl "-attack3;blast" //???
alias -fifi ""
bullet
[/quote]
I've put //??? after each problematic alias. Can anyone help?
LangeUsing a +command and a -command (of the same command) in one bind/alias will not work unless separated by a "wait" command, as it tries to do both on the same frame. However, "wait" is disabled in competitive play and on many pubs.
So it can't be done without wait? damn :(
[quote=Lange]Using a +command and a -command (of the same command) in one bind/alias will not work unless separated by a "wait" command, as it tries to do both on the same frame. However, "wait" is disabled in competitive play and on many pubs.[/quote]
So it can't be done without wait? damn :(