HytaleDocs
Misc

PlaySoundEffect

Type

This field controls the type, it must be set to the constant value "PlaySound" to function as this type.

Type information: Constant value: PlaySound

Event

Type information: (Nullable) String

Interval

Type information:

(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

Delay

Type information:

(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

Entry

Type information: Integer

SoundEvent

Type information: (Nullable) String

VolumeDb

Volume attenuation of the sound event in decibels. 0 is unity.

Type information:

(Nullable) Either Number or String that matches the pattern: ^(-?Infinity|NaN)$

Volume

Deprecated linear multiplier. Use VolumeDb instead.

Type information:

(Nullable) Either Number or String that matches the pattern: ^(-?Infinity|NaN)$

PitchSemitones

Pitch shift of the sound event in semitones.

Type information:

(Nullable) Either Number or String that matches the pattern: ^(-?Infinity|NaN)$

Pitch

Deprecated linear multiplier. Use PitchSemitones instead.

Type information:

(Nullable) Either Number or String that matches the pattern: ^(-?Infinity|NaN)$

Location

Type information:

(Nullable) Any one of the following String (defaults to VolumeCenter):

NameDescription
"VolumeCenter"
"Entity"
"Event"
"Player"

Offset

Type information:

(Nullable)

Vector3d with the following properties:

KeyTypeDescription
XNumber defaults to: 0.0
YNumber defaults to: 0.0
ZNumber defaults to: 0.0

On this page