Skip to content

osTriggerSoundAtPos

Serra Royale edited this page Nov 7, 2025 · 2 revisions

Function: osTriggerSoundAtPos(string, vector, float);

This function performs the same function as llTriggerSound, with the additional argument of a vector to play it at. It eliminates the need for "proxy" sound nodes, typically implemented via a box that warps to a given point, plays a sound, and deletes itself, creating less impact on the server overall.

Caveats

  • some caveat

Examples

Example 1

This example playing a sound at region position 338,247,22 from the contents of an object located anywhere in the region such as 1,1,22

default
{
    state_entry()
    {
        osTriggerSoundAtPos("Classy!", <338,247,22>, 1.0);
    }
}

Example 2

Notes

  • some note 1
  • some note 2

See Also

Functions

Clone this wiki locally