Aurora.ScriptEngine.AuroraDotNetEngine.APIs.LSL_Api.llSound C# (CSharp) Method

llSound() public method

public llSound ( string sound, double volume, int queue, int loop ) : void
sound string
volume double
queue int
loop int
return void
        public void llSound(string sound, double volume, int queue, int loop)
        {
            if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return;

            // This function has been deprecated
            // see http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSound
            Deprecated("llSound");
            if (loop == 1)
                llLoopSound(sound, volume);
            else
                llPlaySound(sound, volume);
            llSetSoundQueueing(queue);
        }
LSL_Api