Description
Gradually modifies the value of a Player Variable over time. (A player variable is a variable that belongs to a specific player.)
Snippet
Chase Player Variable Over Time(Event Player, variableName, 0, 1, Destination And Duration);
Properties
Returns: Void
Parameters: Player, Variable, Destination, Duration, Reevaluation
Player
Type: Player | Array (Player), Default: Event Player
The player whose variable will gradually change. If multiple players are provided, each of their variables will change independently.Variable
Type: Player Variable, Default: A
Specifies which of the player's variables to modify gradually.Destination
Type: Float | Vector, Default: Number
The value that the player variable will eventually reach. The type of this value may be either a number or a vector, though the variable's existing value must be of the same type before the chase begins.Duration
Type: Float, Default: Number (1)
The amount of time, in seconds, over which the variable's value will approach the destination.Reevaluation
Type: Chase Time Reevaluation, Default: Destination And Duration
Specifies which of this action's inputs will be continuously reevaluated. This action will keep asking for and using new values from reevaluated inputs.