80-character width terminal formatting of recent commits to llPlaySound, llPlaySoundSlave, llTriggerSound and llTriggerSoundLimited
parent
c5af16aef8
commit
c796f7861e
|
@ -2405,7 +2405,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
// send the sound, once, to all clients in range
|
// send the sound, once, to all clients in range
|
||||||
if (m_SoundModule != null)
|
if (m_SoundModule != null)
|
||||||
{
|
{
|
||||||
m_SoundModule.SendSound(m_host.UUID, KeyOrName(sound, AssetType.Sound), volume, false, 0, 0, false, false);
|
m_SoundModule.SendSound(m_host.UUID,
|
||||||
|
KeyOrName(sound, AssetType.Sound), volume, false, 0,
|
||||||
|
0, false, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2445,7 +2447,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
// send the sound, once, to all clients in range
|
// send the sound, once, to all clients in range
|
||||||
if (m_SoundModule != null)
|
if (m_SoundModule != null)
|
||||||
{
|
{
|
||||||
m_SoundModule.SendSound(m_host.UUID, KeyOrName(sound, AssetType.Sound), volume, false, 0, 0, true, false);
|
m_SoundModule.SendSound(m_host.UUID,
|
||||||
|
KeyOrName(sound, AssetType.Sound), volume, false, 0,
|
||||||
|
0, true, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2455,7 +2459,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
// send the sound, once, to all clients in rangeTrigger or play an attached sound in this part's inventory.
|
// send the sound, once, to all clients in rangeTrigger or play an attached sound in this part's inventory.
|
||||||
if (m_SoundModule != null)
|
if (m_SoundModule != null)
|
||||||
{
|
{
|
||||||
m_SoundModule.SendSound(m_host.UUID, KeyOrName(sound, AssetType.Sound), volume, true, 0, 0, false, false);
|
m_SoundModule.SendSound(m_host.UUID,
|
||||||
|
KeyOrName(sound, AssetType.Sound), volume, true, 0, 0,
|
||||||
|
false, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5874,7 +5880,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
float radius1 = (float)llVecDist(llGetPos(), top_north_east);
|
float radius1 = (float)llVecDist(llGetPos(), top_north_east);
|
||||||
float radius2 = (float)llVecDist(llGetPos(), bottom_south_west);
|
float radius2 = (float)llVecDist(llGetPos(), bottom_south_west);
|
||||||
float radius = Math.Abs(radius1 - radius2);
|
float radius = Math.Abs(radius1 - radius2);
|
||||||
m_SoundModule.SendSound(m_host.UUID, KeyOrName(sound, AssetType.Sound), volume, true, 0, radius, false, false);
|
m_SoundModule.SendSound(m_host.UUID,
|
||||||
|
KeyOrName(sound, AssetType.Sound), volume, true, 0,
|
||||||
|
radius, false, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue