Speaker Pole

Buildingtype

buildable network component

Max Network Connections

1

Build Gun Ingame
300
300

The Speaker Pole is a network component buildable which provides the functionality to play custom sound files ingame.

With the speaker you can create f.e. a alert sound when you run low on Modular Frames.

If you want to add a sound, open your saves folder, go to the Computers\Sounds folder and place your sound file as ogg in there. You don’t even need to restart your game, you can directly use it. Subfolders are also allowed.

Interface

Parent

This speaker pole allows to play custom sound files, In-Game

Functions

Stop Sound stopSound ()

Stops the currently playing sound file.

Flags

RuntimeSync

Play Sound playSound (String Sound sound, Float Start Point startPoint)

Plays a custom sound file ingame

Flags

RuntimeSync

Parameters
Name Type Description

Sound sound

String

The sound file (without the file ending) you want to play

Start Point startPoint

Float

The start point in seconds at which the system should start playing

Signals

SpeakerSound SpeakerSound (Int Type type, String Sound sound)

Triggers when the sound play state of the speaker pole changes.

Flags

Parameters
Name Type Description

Type type

Int

The type of the speaker pole event.

Sound sound

String

The sound file including in the event.