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 -1Parameters
| Parameter | Type | Default | Values |
|---|---|---|---|
result | value | result | — |
from | value | @dagger | — |
index | value | 0 | — |
x | value | x | — |
y | value | y | — |
rotation | value | angle | — |
team | value | null | — |
owner | value | null | — |
damage | value | -1 | — |
velocityScl | value | 1 | — |
lifeScl | value | 1 | — |
aimX | value | -1 | — |
aimY | value | -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.