Skip to content
Audio & Effects

/audio state set

Set a server-authority AudioState axis value

Spelling

  • /audio state set <audioState> <value> [--curve=<value>] [--fadeMs=<value>] [--players=<value,…>] [--scope=<value>] [--world=<value>]
  • Main commandthe command name that starts it all
  • SubcommandSubcommand: an additional word after the command
  • Requiredrequired, in a fixed order
  • Optionaloptional, with --name=value

Arguments

ArgumentTypeTypeDescription
audioStateRequired

AudioState Asset

A reference to an Asset of type AudioState

The AudioState axis to set

valueRequired

Text

Words, text, numbers, letters

The value name (must be one of the axis's declared Values)

--curveOptional

FadeCurve

linear, logarithmic, exponential, scurve, equalpowersine

linearlogarithmicexponentialscurveequalpowersine

Optional transition curve

--fadeMsOptional

Float

A floating-point number

Optional transition duration in ms. Overrides the axis's matching edge

--playersOptional

List: Player

An argument that accepts one or more (comma-separated) values of another argument type

Players to target when --scope=Players

--scopeOptional

Scope

world, self, players

worldselfplayers

Target set (World = all players in the executor's world. Self = command sender only. Players = the explicit list named by --players)

--worldOptional

World

A world folder name

The world to operate this command on

Permissions

Permission
hytale.audio.command.audio.state.set

The groups build on one another: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Higher groups inherit the permissions of lower ones; new players are Adventurers, and admins (OP) can do everything.

Back to command reference

/audio state set — Hytale command reference | ZAP-Hosting