Sort Arrays Together
Sorts the Key Array and reorders each connected companion array in the same way. Use it to rank scores while keeping player names paired; Success requires matching array lengths.
Diagram
Ports drawn from the source data: inputs left, outputs right, config inside.
How it's used
Structural overview — derived from this gate's ports, not
from tested behavior. Takes 10 wire inputs: Array Var Ref (arrayVarRef), Array Var Ref2 (any), Array Var Ref3 (any), Array Var Ref4 (any), Array Var Ref5 (any), Array Var Ref6 (any), Array Var Ref7 (any), Array Var Ref8 (any), Descending (bool), Exec (exec). Produces 2 outputs: Success (bool), Exec Out (exec).
Wire inputs
Wires you feed into the gate.
| Display name | Type | Tooltip |
|---|---|---|
| Array Var Ref (ArrayVarRef) | arrayVarRef | No tooltip in source |
| Array Var Ref2 (ArrayVarRef2) | any | No tooltip in source |
| Array Var Ref3 (ArrayVarRef3) | any | No tooltip in source |
| Array Var Ref4 (ArrayVarRef4) | any | No tooltip in source |
| Array Var Ref5 (ArrayVarRef5) | any | No tooltip in source |
| Array Var Ref6 (ArrayVarRef6) | any | No tooltip in source |
| Array Var Ref7 (ArrayVarRef7) | any | No tooltip in source |
| Array Var Ref8 (ArrayVarRef8) | any | No tooltip in source |
| Descending (bDescending) | bool | No tooltip in source |
| Exec | exec | No tooltip in source |
Wire outputs
Wires the gate produces.
| Display name | Type | Tooltip |
|---|---|---|
| Success (bSuccess) | bool | No tooltip in source |
| Exec Out (ExecOut) | exec | No tooltip in source |
Variants
This entry reports variants in the source.
[
{
"halfSize": {
"X": 5,
"Y": 5,
"Z": 2
},
"inputs": [
"Exec",
"ArrayVarRef",
"ArrayVarRef2",
"ArrayVarRef3"
],
"outputs": [
"ExecOut",
"bSuccess"
]
},
{
"halfSize": {
"X": 6,
"Y": 5,
"Z": 2
},
"inputs": [
"Exec",
"ArrayVarRef",
"ArrayVarRef2",
"ArrayVarRef3",
"ArrayVarRef4"
],
"outputs": [
"ExecOut",
"bSuccess"
]
},
{
"halfSize": {
"X": 7,
"Y": 5,
"Z": 2
},
"inputs": [
"Exec",
"ArrayVarRef",
"ArrayVarRef2",
"ArrayVarRef3",
"ArrayVarRef4",
"ArrayVarRef5"
],
"outputs": [
"ExecOut",
"bSuccess"
]
},
{
"halfSize": {
"X": 8,
"Y": 5,
"Z": 2
},
"inputs": [
"Exec",
"ArrayVarRef",
"ArrayVarRef2",
"ArrayVarRef3",
"ArrayVarRef4",
"ArrayVarRef5",
"ArrayVarRef6"
],
"outputs": [
"ExecOut",
"bSuccess"
]
},
{
"halfSize": {
"X": 9,
"Y": 5,
"Z": 2
},
"inputs": [
"Exec",
"ArrayVarRef",
"ArrayVarRef2",
"ArrayVarRef3",
"ArrayVarRef4",
"ArrayVarRef5",
"ArrayVarRef6",
"ArrayVarRef7"
],
"outputs": [
"ExecOut",
"bSuccess"
]
},
{
"halfSize": {
"X": 10,
"Y": 5,
"Z": 2
},
"inputs": [
"Exec",
"ArrayVarRef",
"ArrayVarRef2",
"ArrayVarRef3",
"ArrayVarRef4",
"ArrayVarRef5",
"ArrayVarRef6",
"ArrayVarRef7",
"ArrayVarRef8"
],
"outputs": [
"ExecOut",
"bSuccess"
]
}
] Source details
- Brick asset
- PB_Gate_Exec_ArrayVar_SortMultiple
- Component class
- BrickComponentType_Exec_ArrayVar_SortMultiple
- Kind
- exec
- Family
- ArrayVar
- Half size
- 5 × 5 × 2