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

2

u/just_a_random_dood Nov 21 '18

Is callForMedic another alias you've got in your medic.cfg?

2

u/-BrokeN- Nov 21 '18

Ah woops yeah that alias is actually in my autoexec not my medic.cfg so I forgot about it. It's just an alias for.. well, calling medic.

alias "callForMedic" "voicemenu 0 0"

Thanks for pointing it out.

1

u/just_a_random_dood Nov 21 '18

Right, just wanted to make sure. Thanks.