r/Tf2Scripts • u/mrstork89 • Oct 02 '19
Satisfied Degreaser-Panic Attack Switch-Shoot Bind
I need this to reset the spread.
So what it should do it, When I press Hold a Button: Switch to Panic Attack(Slot2), shoot, switch to degreaser(slot1) then repeat.
I can't figure out the repeat part, I ended up creating a press to shoot and switch. I don't want to repeatedly press to shoot, I wanna hold.
alias "+switch" "slot1;slot2;+attack"
alias "-switch" "+attack;-attack"
Please Help, thanks!
4
Upvotes
View all comments
1
u/just_a_random_dood Oct 03 '19
I don't think it's possible to make a script that only shoots once.
The problem is is that
+attackis a +/- command, and those by definition will run continuously until you stop pressing.Here's how the script looks to me
+attack;-attackinstead of directly having a-attackright there??), stay on secondaryTL;DR I think it's impossible.
+attack -attackwill never "only shoot once" in between switching between two slots, it'll just fire always.