Login
Create

For Player Variable Last updated July 06, 2020

Description

Denotes the beginning of a series of actions that will execute in a loop, modifying the control variable on each loop. The corresponding end action denotes the end of the loop. If the control variable reaches or passes the range stop value, then the loop exits, and execution jumps to the next action after the end action.

Arguments

Name: CONTROL PLAYER
Description: The player whose variable is being modified in this loop. If multiple players are specified, the first player is used.
Type: Player
Default: EVENT PLAYER

Name: CONTROL VARIABLE
Description: The variable being modified in this loop. It is set to the range start value when the loop begins, and the loop continues until the control variable reaches or passes the range stop value.
Type: PlayerVariable
Default: A

Name: RANGE START
Description: The control variable is set to this value when the loop begins.
Type: float
Default: NUMBER

Name: RANGE STOP
Description: If the control variable reaches or passes this value, then the loop will exit, and execution jumps to the next action after the end action. Whether this value is considered passed or not is based on whether the step value is negative or positive. If the control variable has already reached or passed this value when the loop begins, then the loop exits.
Type: float
Default: COUNT OF

Name: STEP
Description: This value is added to the control variable when the end action is reached. If this modification causes the control variable to reach or pass the range stop value, then the loop exits, and execution jumps to the next action after the end action. Otherwise, the loop continues, and execution jumps to the next action after the for action.
Type: float
Default: NUMBER

Elo Hell Logo_H-M-Dark
Join the Elo Hell Workshops Discord