r/tf2scripthelp • u/MrDyl4n • Feb 04 '15
Resolved Scripting noob here, need help
bind q "r_drawviewmodels 1; slot2; +attack2; say_team sandvich deployed; slot1; r_drawviewmodels 0;"
Is what I have so far. It works fine (pressing q throws sandvich), but I get stuck in +attack2. I tried adding ;-attack2 at the end, but that seems to nullify the +attack2 in the beginning. What can I do to fix this?
2
Upvotes
View all comments
Show parent comment
1
u/genemilder Scripter Feb 04 '15
The
-doesn't run because OP doesn't have the+as the first entry, so in that respect you're right. The solution here isn't to move it to the first entry though, so I guess I assumed that's what you were advocating. :)