r/Tf2Scripts • • Nov 21 '18

Resolved How can i make this script?

Medic main here.

I have a script running that only works on medic to shout to my team when i deploy uber. All well and good.

Is there any way to make this happen only when i have my medigun out? i.e. Not when im holding my melee or primary?

Kinda getting tired of yelling out "I USED UBER!" at my team whenever i try to get a taunt kill or use the amputator.

7 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/NotAliasing Nov 22 '18

yours did indeed work; but i did need to change/fix some things.

I removed the 'callforMedic' part, since i dont use that in my autoexec, thats obvious adjustment.

However, i noticed that it was shouting out that i used uber on classes other than medic.

I fixed this by pasting

'

bind "1" "slot1"

bind "2" "slot2"

bind "3" "slot3"

'

into all my other classes cfgs.

Thanks for your help! Question solved!