Back to ACE

ACE.EmitSound

C

Part of ACE namespace

function ACE.EmitSound( SoundTxt, Origin, SoundLevel, Pitch, Volume )
View on GitHub|lua/acf/client/cl_soundbase.lua:66-76
👁️ 0 viewsUpdated 1 month ago

Description

Global sound function. In order to be modified by a convar config --If the Origin is an entity, uses entity:EmitSound( SoundTxt , SoundLevel, Pitch, Volume ) --If the Origin is a vector Position, uses sound.Play(SoundTxt, Position, SoundLevel, Pitch, Volume)

Parameters

NameTypeDescription
SoundTxtany
Originany
SoundLevelany
Pitchany
Volumeany

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.