Skip to main content

Array

Setup

Array Create

Create a new array for using in the game.
Array Create
Array Slot
1
2
3
4
Capacity
1
Global
  • Array Slot: The array slot to use.
  • Capacity: The number of elements it can hold.
  • Global: Global arrays dont get released on scene changes.

Array Release

Release the selected array and free all used memory.
Array Release
Array Slot
1
2
3
4
  • Array Slot: The array slot to use.

Set Array Size

Set the array size and fill all with 0. The value can't be bigger than the original capacity.
Set Array Size
Array Slot
1
2
3
4
Size
0
  • Array Slot: The array slot to use.

Set Array Global

Set the array global flag.
Set Array Global
Array Slot
1
2
3
4
Global
  • Array Slot: The array slot to use.
  • Global: Global arrays dont get released on scene changes.

Access

Get Value from Array

Get the value of the give position of the array into a variable.
Get Value from Array
Array Slot
1
2
3
4
Index
0
Variable
$Variable0
  • Array Slot: The array slot to use.
  • Variable: The variable to use.

Store Value in Array

Set the value of the give position of the array from a variable.
Store Value in Array
Array Slot
1
2
3
4
Value
$Variable0
Index
0
  • Array Slot: The array slot to use.
  • Value: The value you want to set.

Actions

Push Value to Array

Push a new value into the array.
Push Value to Array
Array Slot
1
2
3
4
Value
0
Side
Start
  • Array Slot: The array slot to use.
  • Side: The side do you want to perform the operation.

Pop Value from Array

Remove a value from the array and store it into a variable.
Pop Value from Array
Array Slot
1
2
3
4
Variable
$Variable0
Side
Start
  • Array Slot: The array slot to use.
  • Variable: The variable to use.
  • Side: The side do you want to perform the operation.

Delete Index from Array

Delete the given index from the array.
Delete Index from Array
Array Slot
1
2
3
4
Index
0
  • Array Slot: The array slot to use.

Delete Value from Array

Delete the given value from the array.
Delete Value from Array
Array Slot
1
2
3
4
Value
0
  • Array Slot: The array slot to use.

Miscellaneous

Array Log

Log the selected array. Useful for debugging.
Array Log
Array Slot
1
2
3
4
  • Array Slot: The array slot to use.

Properties

Store Array Size

Store the array size in a variable.
Store Array Size
Array Slot
1
2
3
4
Variable
$Variable0
  • Array Slot: The array slot to use.
  • Variable: The variable to use.