playmusic
Worldworld processor onlythe sandbox does not run it
Plays a music track by name, e.g. "game1". If interrupt is true, the previously playing music will be stopped. Playing with null music and interrupt set to true will stop the current track. Note that music from data patches must be prefixed with dp-.
Syntax
playmusic \"game1\" trueParameters
| Parameter | Type | Default | Values |
|---|---|---|---|
name | value | \"game1\" | — |
interrupt | value | true | — |
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.