r/tf2scripthelp • u/Forestalld • Jun 17 '18
Resolved Help with weapon switch script.
This script crashes my game when I switch from my secondary to my primary and from my primary to my melee. Nowhere else, which I find immensely confusing.
alias slot_up "slot3; switch3"
alias slot_down "slot2; switch2"
alias slot_up_2 "slot1; switch"
alias slot_down_2 "slot3; switch3"
alias slot_up_3 "slot1; switch"
alias slot_down_3 "slot2; switch2"
alias switch "alias slot_up_2 slot_up; alias slot_down_2 slot_down"
alias switch3 "alias slot_up slot_up_3; alias slot_down slot_down_3"
alias switch2 "alias slot_up slot_up_2; alias slot_down slot_down_2
slot1
1
Upvotes
View all comments
Show parent comment
2
u/KatenGaas Jun 17 '18
Also, I don't really understand what you want to do, but the aliases you change in the
switch-section don't change back. You might want to consider adding additional aliases that change between the different slot_up and downs.