r/tf2scripthelp • • Aug 08 '15

Resolved Battle Engi Script, need help

All right, so I set up a class-specific script for the Engineer that quickbuilds a new mini after destroying any previous mini. Everything seems to be working right, except for one thing. Whenever I hold down my button to execute the script, my character quickly fires whatever weapon I'm currently holding, then follows through with the script. This can be really annoying for me, especially since I usually use the Widowmaker for my Battle Engi loadout.

This is exactly what I put in my engineer config file:

exec reset

alias +fastbuildsentry "destroy 2 0; build 2 0; +attack"
alias -fastbuildsentry "-attack; lastinv;"
bind "MOUSE3" +fastbuildsentry 

And this is what I have in my "reset" config:

bind mouse3 "+attack3"
bind "MOUSE4" "voicemenu 1 6"
bind "MOUSE5" "voicemenu 1 2"

If somebody could help me out, that'd be amazing.

1 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/genemilder Scripter Aug 09 '15

Yeah, I think I was remembering a different script. I like being about to control fast sentry scripts with mouse1/2 so I don't usually include the attacking part. Glad you found a solution.