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.
View all comments
Show parent comment
1
u/genemilder Scripter Aug 09 '15
You can check with more commands, but I don't know that it works like that with separating commands increasing delay. I was under the impression that everything was executed on the same frame if there was no
waitpresent. I could be wrong though!