Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.sound.create

S๐Ÿท๏ธ Sound

Part of StarfallEx namespace

๐Ÿ”— External
sound.create(ent, path, nofilter)
View on GitHub|lua/starfall/libs_sh/sound.lua:71
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Creates a sound and attaches it to an entity

Parameters

NameTypeDescription
entEntityEntity to attach sound to.
pathstringFilepath to the sound file.
nofilter?boolean(Optional) Boolean Make the sound play for everyone regardless of range or location. Only affects Server-side sounds.

Returns

TypeDescription
SoundSound Object

Examples

No examples available.

Used In

No usages found in the codebase.