Skip to content

Chase Player Variable At Rate

Description

Gradually modifies the value of a Player Variable at a specific rate. (A player variable is a variable that belongs to a specific player.)

Snippet

Chase Player Variable At Rate(Event Player, variableName, 0, 1, Destination And Rate);

Properties

Returns: Void Parameters: ==Player==, ==Variable==, ==Destination==, ==Rate==, ==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.

==Rate== Type: Float, Default: Number (1) The amount of change that will happen to the variable’s value each second.

==Reevaluation== Type: [Chase Reevaluation](/wiki/articles/chase reevaluation), Default: Destination And Rate Specifies which of this action’s inputs will be continuously reevaluated. This action will keep asking for and using new values from reevaluated inputs.

Type to search…

↑↓ navigate↵ selectEsc close