Description
A copy of the specified array with the values mapped according to the Mapping Expression that is evaluated for each element.
Example
Let's say we have an array with a bunch of numbers;
Global.A = [2, 4, 7]
Using Mapped Array we can alter all these values with 1 action.
Global.A = Mapped Array(Global.A, Current Array Element * 2)
This multiplies all elements in the array by 2, resulting in the following array;
Global.A = [4, 8, 14]
Return
array
Arguments
Name: ARRAY
Description: The array whose copy will be mapped.
Type: Array
Default: ALL PLAYERSName: MAPPING EXPRESSION
Description: The mapping expression that is evaluated for each element of the copied array. Use theCurrent Array Element
value to reference the element of the array currently being considered
Type: Array
Default: CURRENT ARRAY ELEMENT