Aller au contenu
Audio et effets

/audio state set

Set a server-authority AudioState axis value

Notation

  • /audio state set <audioState> <value> [--curve=<value>] [--fadeMs=<value>] [--players=<value,…>] [--scope=<value>] [--world=<value>]
  • Commande principalele nom de la commande, par lequel tout commence
  • Sous-commandeSous-commande : un autre mot après la commande
  • Obligatoireobligatoire, dans un ordre fixe
  • Facultatiffacultatif, avec --name=wert

Arguments

ArgumentTypeTypeDescription
audioStateObligatoire

AudioState Asset

A reference to an Asset of type AudioState

The AudioState axis to set

valueObligatoire

Text

Words, text, numbers, letters

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

--curveFacultatif

FadeCurve

linear, logarithmic, exponential, scurve, equalpowersine

linearlogarithmicexponentialscurveequalpowersine

Optional transition curve

--fadeMsFacultatif

Float

A floating-point number

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

--playersFacultatif

List: Player

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

Players to target when --scope=Players

--scopeFacultatif

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)

--worldFacultatif

World

A world folder name

The world to operate this command on

Autorisations

Autorisation
hytale.audio.command.audio.state.set

Les groupes sont hiérarchisés : Adventurer, Builder, WorldEditor, ServerEditor, Admin. Chaque groupe supérieur hérite des permissions des groupes inférieurs ; les nouveaux joueurs sont Adventurer, et les admins (OP) peuvent tout faire.

Retour à la référence des commandes

/audio state set — référence des commandes Hytale | ZAP-Hosting