How to create headshots only variable

How can I create a headshot only variable. I’m dumb for not knowing how to do this. Thanks

Event: Player dealt damage
Team: All
Player: All
Condition:
Event was critical hit == True
Action:
// do da thing

If you want it player specific variable then player variable otherwise global variable.

1 Like

Thanks bro I’m a big newb

Faster and simple without coding

Go to Custom Settings instead of Workshop
Heroes - > Only HS -> activate

That’s only if OP wants head-shots only, he/she is saying to have a variable that accounts for events that are head-shots.

I there a way to make a certain hero only do headshot damage. for example switching to hanzo and the only do headshot damage.

1 Like