Skip to content

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 building

Parameters

ParameterTypeDefaultValues
locateLLocatebuilding
  • ore
  • building
  • spawn
  • damaged
flagBlockFlagcore
  • core
  • storage
  • generator
  • turret
  • factory
  • repair
  • battery
  • reactor
  • extinguisher
  • drill
  • shield
  • launchPad
  • unitCargoUnloadPoint
  • unitAssembler
  • hasFogRadius
  • steamVent
  • blockRepair
  • synced
enemyvaluetrue
orevalue@copper
outXvalueoutx
outYvalueouty
outFoundvaluefound
outBuildvaluebuilding

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.