Skip to content

bullet

Worldworld processor only

Fires a bullet from a point in the given direction.

Syntax

bullet result @dagger 0 x y angle null null -1 1 1 -1 -1

Parameters

ParameterTypeDefaultValues
resultvalueresult—
fromvalue@dagger—
indexvalue0—
xvaluex—
yvaluey—
rotationvalueangle—
teamvaluenull—
ownervaluenull—
damagevalue-1—
velocitySclvalue1—
lifeSclvalue1—
aimXvalue-1—
aimYvalue-1—

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.