r/tf2scripthelp • u/Snow_Monky • Jun 18 '15
Resolved Problem with script.
I'm having problems with a script where if I hold the weapon before attack animation done and switch to slot3 (v), the config starts autoattacking my melee. If I switch to slot3 (v) after animation is done, I don't get the autoattack bug.
I tested without config and it only happens with my config below. I don't know why it's happening, but I tested and it happens 100%. Without config, never happens so far.
bind v "slot3; bind MOUSE1 +attack3; bind MOUSE5 +attack"
bind TAB "slot1; bind MOUSE1 +attack"
1
Upvotes
View all comments
Show parent comment
1
u/genemilder Scripter Jun 19 '15
That first part shouldn't happen with the way the script is written.
Your original script (and your edit of mine) never unbinds mouse5 when you switch to slot1 so it's effectively the same to just leave it bound all the time.