r/Tf2Scripts • • Dec 11 '19
Answered medic ubercharge broadcast script
Ok so currently I have a medic script that tells my team I used ubercharge In the team chat whenever I press mouse2 that looks like this:
alias "popMediG" "say_team > POPPED UBERCHARGE (MEDI GUN)"
alias "popKritz" "say_team > POPPED UBERCHARGE (KRITZKRIEG)"
alias "popQuick" "say_team > POPPED UBERCHARGE (QUICK-FIX)"
alias "popVacci" "say_team > POPPED UBERCHARGE (VACCINATOR)"
alias "pop" "popMediG"
alias "+uber" "spec_prev; maskVoice; +attack2; pop"
alias "-uber" "maskVoice; -attack2"
bind "MOUSE2" +uber
but right now it's only able to say the first message. I don't want my team to think I popped stock uber when I'm actually using the vaccinator. Is there a way for me to be able to press a button in-game that switches which message it broadcasts when I use Uber?
I first posted this to r/tf2scripthelp but I didn't seem to get much of an answer.
View all comments
Show parent comment
2
u/Stack_Man Dec 12 '19
The binds I suggested are re-aliasing the
popalias. They aren't changing which button you use to uber.When you switch mediguns, press the respective button. Right-clicking will now send the appropriate message.
For example, say you have these binds:
If you switch to the kritzkrieg, press i. If you switch back to the medigun, press u.