Skip to content

Set Player Allowed Heroes

Player, Hero

Description

Sets the list of heroes available to one or more players. If a player’s current hero becomes unavailable, the player is forced to choose a different hero and respawn at an appropriate spawn location.

Snippet

Set Player Allowed Heroes(Event Player, Hero(Tracer));

Properties

Returns: Void Parameters: ==Player==, ==Hero==

==Player== Type: Player | Array (Player), Default: Event Player The player or players whose hero list is being set.

==Hero== Type: Hero | Array (Hero), Default: Hero The hero or heroes that will be available. If no heroes are provided, the action has no effect.

Type to search…

↑↓ navigate↵ selectEsc close