Workshop.codes
Create

Player Hero Stat Last updated November 26, 2024

Description

Provides a statistic of the specified Player's time playing a specific Hero (limited to the current match). Statistics are only gathered when the game is in progress. Dummy bots do not gather statistics.

Snippet

Player Hero Stat(Event Player, Hero(Tracer), All Damage Dealt);

Properties

Returns: Integer
Parameters: Player, Hero, Stat

Player
Type: Player, Default: Event Player
The Player whose Statistic to acquire.

Hero
Type: Hero, Default: Hero
The hero whose statistic to acquire

Stat
Type: Statistic, Default: All Damage Dealt
The statistic to acquire.

Workshop.codes