Skip to main content

SoundEffectService

Handles applying global volume and effects to specific sounds in a group based upon a path.

Functions

RegisterSFX

SoundEffectService:RegisterSFX(
soundSound,
soundGroupPathstring?--

Optional

) → ()

Assigns the sound group for the given

Show raw api
{
    "functions": [
        {
            "name": "RegisterSFX",
            "desc": "Assigns the sound group for the given",
            "params": [
                {
                    "name": "sound",
                    "desc": "",
                    "lua_type": "Sound"
                },
                {
                    "name": "soundGroupPath",
                    "desc": "Optional",
                    "lua_type": "string?"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 39,
                "path": "src/soundgroups/src/Shared/SoundEffectService.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "SoundEffectService",
    "desc": "Handles applying global volume and effects to specific sounds in a group based upon a path.",
    "source": {
        "line": 6,
        "path": "src/soundgroups/src/Shared/SoundEffectService.lua"
    }
}