Skip to main content

FlatAppend

This formula allows you to concatenate lists (also known as flattening).

Returns​

array<T>

JSON Format​

{
"type": "flatAppend",
"components": ...,
"treat_as_set": ...
}

RPG Script​

This component can be written in RPG Script as:

flatAppend(...)

Fields​

FieldTypeRequiredDescription
componentsList<StatFormulaComponent>✓The formula for the arrays (lists) that should be concatenated.
@type array<array<T>>
treat_as_setboolOptional. False by default. If true, this formula will remove all duplicate values from the result before returning it.