fetch
Worldworld processor only
Lookup units, cores, players or buildings by index. Indices start at 0 and end at their returned count.
Syntax
fetch unit result @sharded 0 @conveyorParameters
| Parameter | Type | Default | Values |
|---|---|---|---|
type | FetchType | unit |
|
result | value | result | — |
team | value | @sharded | — |
index | value | 0 | — |
extra | value | @conveyor | — |
Data taken from Mindustry v160.4 by the project generators.
Unofficial fan project, not affiliated with Anuke. Mindustry sprites, fonts and translations © Anuke, used under GPL-3.0; Fira Code under OFL-1.1. Site code is GPL-3.0.