OpenSim.Region.ScriptEngine.Shared.Api.LSL_Api.llSetTimerEvent C# (CSharp) Method

llSetTimerEvent() public method

public llSetTimerEvent ( double sec ) : void
sec double
return void
        public void llSetTimerEvent(double sec)
        {
            if (sec != 0.0 && sec < m_MinTimerInterval)
                sec = m_MinTimerInterval;
            m_host.AddScriptLPS(1);
            // Setting timer repeat
            AsyncCommands.TimerPlugin.SetTimerEvent(m_host.LocalId, m_item.ItemID, sec);
        }
LSL_Api