MantisBT - opensim
View Issue Details
0007942opensim[REGION] Script Functionspublic2016-06-25 15:082019-02-06 11:30
danbanner 
danbanner 
normalminoralways
closedfixed 
master (dev code) 
master (dev code) 
Standalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
ODE, BulletSim
Mono / Linux64, .NET / Windows64
3.2
any
0007942: llTriggerSound only playing sound locally when used in a hud
llTriggerSound() is playing sound only for for owner when object is attached as a hud. Meaning a hud with sound intended for others to hear cannot be heard. This is correct behavior for llPlaySound() and the sl wiki for llPlaysound says:

"If the object playing the sound is a HUD, the sound is only heard by the user the HUD is attached to.

To play a sound inworld from a HUD use llTriggerSound."




Get a friend or an alt and use this script below:
 
string sound = "89bf9e38-52d5-4e15-af9c-edeb5b12a6cd"; //uuid or name of item in inventory
 
default
{
    touch_start(integer total_num)
    {
        llTriggerSound(sound, 1.0);
    }
}
http://wiki.secondlife.com/wiki/LlPlaySound [^]

http://wiki.secondlife.com/wiki/LlTriggerSound [^]
No tags attached.
Issue History
2016-06-25 15:08danbannerNew Issue
2016-06-26 02:18danbannerNote Added: 0030784
2016-06-26 02:18danbannerStatusnew => resolved
2016-06-26 02:18danbannerResolutionopen => fixed
2016-06-26 02:18danbannerAssigned To => danbanner
2019-02-06 11:30BillBlightNote Added: 0034525
2019-02-06 11:30BillBlightStatusresolved => closed

Notes
(0030784)
danbanner   
2016-06-26 02:18   
<cia-opensim> opensim: ajlduarte * r8cb3787de86a OpenSim/Region/CoreModules/World/Sound (SoundModule.cs):
<cia-opensim> mantis 7942: allow llTriggerSound on HUDs to send sounds to all.

thanks ubit!
(0034525)
BillBlight   
2019-02-06 11:30   
Marked as Resolved but never closed, can be reopened if needed.