Skip to content

ucontrol

Unit Control

A command to the bound unit: move, shoot, mine, build, take and drop items.

Syntax

ucontrol move 0 0 0 0 0

Parameters

ParameterTypeDefaultValues
typeLUnitControlmove
  • idle
  • stop
  • move
  • approach
  • pathfind
  • autoPathfind
  • boost
  • target
  • targetp
  • itemDrop
  • itemTake
  • payDrop
  • payTake
  • payEnter
  • mine
  • flag
  • build
  • deconstruct
  • getBlock
  • within
  • unbind
p1value0
p2value0
p3value0
p4value0
p5value0

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.