[Solved] Clear Hack Upon Death

So basically I am trying to create an event where if Sombra dies the hack status applied to enemies is cleared. That’s all, ty.

– I am new to the workshop sorry.

Here’s what I have:

Event: Player Died
Team:  All
Player: All

Conditions -
IS DEAD(PLAYER ON HERO(HERO(SOMBRA), TEAM OF (EVENT PLAYER))) == TRUE

Actions -
CLEAR STATUS(ALL LIVING PLAYERS(OPPOSITE TEAM OF(TEAM OF(EVENT PLAYER))), HACKED)

Any help would be appreciated :slight_smile:

Try this:

rule 1: player died - all - sombra

condition:
- none

action:
- CLEAR STATUS(ALL LIVING PLAYERS(OPPOSITE TEAM OF(TEAM OF(EVENT PLAYER))), HACKED) *what you did*

You dont need to check for “is dead” as the rule triggers on death. You could use hero of(event player) == hero(sombra) as the condition, but setting the “player” property of the rule to “sombra” does the same.

This doesn’t seemed to have worked, including and excluding the condition. Do you have any other suggestions?

I have no idea. Maybe the workshop hack status and the hack status sombra does with her secondary fire are different?
If you share your code, I can look for errors.

1 Like

The code is: ADC1M

Even if this doesn’t come up with anything, thanks for the effort man!

You cant clear statuses placed by in-game characters only by workshop rules

2 Likes

Ah right, thanks for the help. Guess this thread is closed now.