Workshop.codes
Create

Players On Hero Last updated November 26, 2024

Description

The array of players playing a specific hero on a team or in the match.

Snippet

Players On Hero(Hero(Tracer), Team(Team 1));

Properties

Returns: Array (Player)
Parameters: Hero, Team

Hero
Type: Hero, Default: Hero
The hero to check for play.

Team
Type: Team, Default: Team
The team or teams on which to check for the hero being played.

Workshop.codes