Factorio Runtime DocsVersion 2.0.50

PlaySoundSpecification :: table

Table fields

path :: SoundPath

The sound to play.

The sound to play.

position :: MapPosition?

Where the sound should be played. If not given, it's played globally on the player's controller's surface.

Where the sound should be played. If not given, it's played globally on the player's controller's surface.

volume_modifier :: double?

The volume of the sound to play. Must be between 0 and 1 inclusive.

The volume of the sound to play. Must be between 0 and 1 inclusive.

override_sound_type :: SoundType?

The volume mixer to play the sound through. Defaults to the default mixer for the given sound type.

The volume mixer to play the sound through. Defaults to the default mixer for the given sound type.

Classes

Concepts

Events

Defines