/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
| Argument | Type | Type | Description |
|---|---|---|---|
audioState | Required | AudioState Asset A reference to an Asset of type AudioState | The AudioState axis to set |
value | Required | Text Words, text, numbers, letters | The value name (must be one of the axis's declared Values) |
--curve | Optional | FadeCurve linear, logarithmic, exponential, scurve, equalpowersine
| Optional transition curve |
--fadeMs | Optional | Float A floating-point number | Optional transition duration in ms. Overrides the axis's matching edge |
--players | Optional | List: Player An argument that accepts one or more (comma-separated) values of another argument type | Players to target when --scope=Players |
--scope | Optional | Scope world, self, players
| Target set (World = all players in the executor's world. Self = command sender only. Players = the explicit list named by --players) |
--world | Optional | 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.