Add To List


This action can be used to add a new value (of any data type) to the list, and this value will be added on at the end. You supply the variable that stores the list index (as returned by the action Create List) and the value to store.

Action Syntax:

Add To List Syntax


Argument Description
List The index (stored in a variable) of the list to add to
Value The value to add into the list


Create List Example
The above action block code creates a global scope variable and then creates a new list data structure, assigning its index value to the global variable. The scope is then changed to so all the instances of the object "obj_Enemy_Parent" add their unique instance ID value into the list.