Upvote Upvoted 0 Downvote Downvoted
Very basic sniper script, not sure what's wrong
posted in Q/A Help
1
#1
0 Frags +

Left mouse button broke, making a script to allow scoping with M2, then shooting with M2. Unscoping is bound to Z

alias +m2shoot "+attack1;"
alias -m2shoot "-attack1;bind mouse2 m2scope"

alias +m2scope "+attack2;"
alias -m2scope "-attack2;bind mouse2 m2shoot"

bind mouse2 +m2scope

alias +z +attack2
alias -z -attack2
bind z +z
But right clicking just keeps scoping and un-scoping again and again. What did I do wrong?

Left mouse button broke, making a script to allow scoping with M2, then shooting with M2. Unscoping is bound to Z

alias +m2shoot "+attack1;"
alias -m2shoot "-attack1;bind mouse2 m2scope"

alias +m2scope "+attack2;"
alias -m2scope "-attack2;bind mouse2 m2shoot"

bind mouse2 +m2scope

alias +z +attack2
alias -z -attack2
bind z +z
But right clicking just keeps scoping and un-scoping again and again. What did I do wrong?
2
#2
1 Frags +

x

x
3
#3
1 Frags +

You might want to bind mouse2 back to scoping-in with the alias -z, otherwise if you unscope with Z your next right click is still going to shoot.

You might want to bind mouse2 back to scoping-in with the alias -z, otherwise if you unscope with Z your next right click is still going to shoot.
4
#4
-1 Frags +

Buy new mouse

Buy new mouse
Please sign in through STEAM to post a comment.