Description
Overrides the cast or activation time of a specified ability on a player, scaling how long the player must commit to the activation animation before the ability takes effect. A value of 0 makes the ability instant. Does not affect channel duration or cooldown.
Snippet
Set Ability Cast Time(Event Player, Button(Secondary Fire), 0);
Properties
Returns: Void
Parameters: Player, Button, Cast Time
Player
Type: Player, Default: Event Player
The player whose ability cast time will be overridden.Button
Type: Button, Default: Ability 1
The ability slot whose cast time will be modified.Cast Time
Type: Number, Default: 0
The cast duration in seconds. Set to 0 for an instant activation.