Description
Replaces a player's current ultimate ability with the ultimate of a specified hero for a set duration. The player's existing ultimate charge is preserved as a percentage and applied to the new ultimate. Reverts to the player's native ultimate when the duration expires or the player respawns.
Snippet
Grant Ultimate From Hero(Event Player, Hero(Genji), 15);
Properties
Returns: Void
Parameters: Player, Hero, Duration
Player
Type: Player, Default: Event Player
The player who will receive the temporary ultimate.Hero
Type: Hero, Default: Hero(Reaper)
The hero whose ultimate ability will be granted.Duration
Type: Number, Default: 10
How long the replacement ultimate is available, in seconds. Use 0 for an indefinite replacement.