r/tf2scripthelp • u/MrJason005 • Feb 08 '14
Issue Need help with a spy sapper script
So I made a script for spy, with a few ideas from stabby's but it doesn't want to work! (off topic: what does reddit mean "flair my post")
bind "2" sapper_mode
//====Aliases====
alias viewmodel_on r_drawviewmodel 1
alias viewmodel_off r_drawviewmodel 0
alias sensitivity_fast sensitivity 5
alias sensitivity_slow sensitivity 1
//====Sapper====
alias sapper_alert say_team ***SAPPPING***
alias sapper_binds1 bind "mouse1" "+attack;sapper_alert"
alias +sapper_binds2 xhair_type_a
alias -sapper_binds2 xhair_type_b
alias sapper_mode "slot2;viewmodel_on;sensitivity_fast;sapper_binds1;+sapper_binds2"
//====Crosshair switcher====
alias xhair_type_a cl_crosshair_file
alias xhair_type_b cl_crosshair_fileI cannot understand at all what is wrong!
2
Upvotes
View all comments
Show parent comment
1
u/MrJason005 Feb 09 '14 edited Feb 09 '14
Hmm, yes. That is a part of my whole code. I plan to have a knife_mode which binds different commands and an amby_mode which does other commands. My script is still WYI but i was having problems with that specific part, I didn't bind the amby/knife_mode snappets. Here's my script that I wrote so far.
But a few questions regarding your modifications, does that mean that when i press 2 it attacks automatically and also sends the sap_alert message for as long as I hold 2?