Sound โ
Play a sound once, loop it, or stop it.
Plays a sound from the object running the function: a click, a confirmation, ambient music.
Fields โ
| Field | Required | What to enter |
|---|---|---|
Action | Yes | Play once, Loop until stopped, or Stop whatever is playing. |
Sound | for Play/Loop | Pick from the Sounds tab of the assets, or paste a UUID. |
Volume | Yes | Slider 0โ100. |
Notes โ
- The sound plays from the object that runs the function (the HUD). To play a sound from a target, give the target its own project and send it a command.
- An object plays one sound at a time through this action. Play while a Loop is running replaces it; Stop silences both.
- Sound clips in Second Life are at most 10 seconds (30 s on newer uploads); for music, loop a seamless clip.
- The sound must be in the HUD's Content when you scan assets; after Finish only the UUID is needed, so the file can be removed.
- Attached HUDs are heard by nearby avatars as well; use low volume for click sounds.
Example: click feedback everywhere โ
Create a helper fx_click with Play + your click sound at volume 40, and call it from every button. See Helper Functions.