ArcBasicDocs

EmitSound

Plays a 3D sound from an entity.

EmitSound ( sound,entity )

Parameters

sound
a sound loaded with Load3DSound.
entity
the entity it comes from.

Description

Plays a 3D sound from an entity and gives back its channel. The sound comes from the entity's direction, gets quieter with distance from the CreateListener listener, and follows the entity as it moves.

See also