r/tf2scripthelp • • Sep 13 '16
Question Request: Medic Script for Crossbow Quick-Switch-Shot & Back
What should it do: Medigun is active >> switch to Crusader's Crossbow fire an arrow > switch back to medigun and connect to heal-target in range ;;
What it does do: It binds +attack as kinda default and disables the mouse1 attack. I can't switch heal targets anymore. If i do the -attack after i heal the target the autoheal doesnt continue to heal the target. Soooo could someone help me or tell me how autoheal works and how i can make it work, or if it isn't possible. Thanks
The Script:
alias "+melee" "-attack; slot1; +attack"
alias "-melee" "slot2; wait 80; -attack"
bind q "+melee"^ i also need to hold Q or it doesnt shoot and switches back very fast and the next time it doesn't shoot at all. Wait isn't perfect and i have no idea what to do to fix it.
View all comments
Show parent comment
1
u/[deleted] Sep 15 '16 edited Sep 15 '16
Since in casual the wait command is allowed (https://wiki.teamfortress.com/wiki/Scripting#Wait-testing < did this test), i did this:
Did not work. I know i can tweak each wait or remove, but i can't find the "sweet spot" >_<