Wiki

Case Status
Log In

Wiki

 
Home ยป Action Reference»Array Actions»Array Get
Index
Navigation
Community Wiki

Array Get

Get a value at an index. Index must be between 0 and the number of items -1. First item is index 0.

Array
The Array Variable to use.
Index
The index into the array.
Store Value
Store the value in a variable. NOTE: must be of the same type as the array.
Every Frame
Repeat every frame while the state is active.
Index Out Of Range
The event to trigger if the index is out of range.

 

Example

Get the 3rd name from a string array called Names:

Note, the Index parameter can be an Int Variable:

 

NOTE: For a summary of how an index works see Array Variables.

Tags:

Last modified on 1/5/2016 3:07 AM by User.

  • RSS Feed