Documentation

Numeric Loop - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Numeric Loop

Root.LoopNumeric(
  Variable Variant,
  Starting Number Variant,
  Ending Number Variant,
  Increment/Decrement Amount Variant
) 
Repeats the script inside for a specified range

Parameters

Variable Variant
A variable that will have its value set for each iteration
Starting Number Variant
The number the variable starts at
Ending Number Variant
The number the variable ends at
Increment/Decrement Amount Variant
The amount to change the variably by for each iteration

Return Value

Nothing

Lua Usage

Root.LoopNumeric(variable, startingNumber, endingNumber, incrementDecrementAmount)

If you think anything is missing, please feel free to: submit documentation feedback on this page