ulocate
Unit Control
Finds the nearest thing on the map: an ore deposit, a building of the right kind, a core or a drop point.
Syntax
ulocate building core true @copper outx outy found buildingParameters
| Parameter | Type | Default | Values |
|---|---|---|---|
locate | LLocate | building |
|
flag | BlockFlag | core |
|
enemy | value | true | — |
ore | value | @copper | — |
outX | value | outx | — |
outY | value | outy | — |
outFound | value | found | — |
outBuild | value | building | — |
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.