Bring everyone around you to you in workshop

I’m making a map where everyone is reworked and for signs I want to make it where you press ability 2 then the victims in a 5 meter radius all come to you. How would I do this

For the conditions, you’ll want to have Is Button Held (Button(Ability 2)) == True and likely an Ability Cooldown (Ability 2) == 0 so it can’t be used while on cooldown.

You’ll want to use Teleport action with the target player being Players Within Radius, center is Event Player.
For team we want to use Opposite Team of (Team Of (Event Player)) to only target enemies.
The position is where you want them to end up. If you want them 1 meter in front of you, use World Vector Of (0,0,1) relative to Event Player, and select Rotation And Translation since we want a position, and not a direction.

To finish it off, Set Ability Cooldown (Ability 2, xtime).
­
­

Here’s also the rule code if you’d rather copy and paste.

AoE Teleport

rule(“AoE Teleport”)
{
event
{
Ongoing - Each Player;
All;
All;
}

conditions
{
Is Button Held(Event Player, Button(Ability 2)) == True;
Ability Cooldown(Event Player, Button(Ability 2)) == 0;
}

actions
{
Teleport(Players Within Radius(Event Player, 5, All Teams, Off), World Vector Of(Vector(0, 0, 1), Event Player,
Rotation And Translation));
Set Ability Cooldown(Event Player, Button(Ability 2), 8);
}
}

Hi, thank you for responding but is it possible for you to make it where I can copy and paste it in overwatch?