OsWindActiveModelPluginName: Difference between revisions

From OpenSimulator
Jump to navigationJump to search
imported>Djphil
Add exemple
imported>Djphil
m Typos
Line 18: Line 18:
     touch_start(integer number)
     touch_start(integer number)
     {
     {
         llSay(PUBLIC_CHANNEL, "The Wind Active Model Plugin Name is \"" + osWindActiveModelPluginName() + "\".");         
         llSay(PUBLIC_CHANNEL, "The wind active model plugin name is \"" + osWindActiveModelPluginName() + "\".");         
     }
     }
}
}

Revision as of 19:13, 26 November 2020

string osWindActiveModelPluginName()
Gets active wind plugin name, specified by "wind_plugin" in OpenSim.ini ("SimpleRandomWind" or "ConfigurableWind").
Threat Level None
Permissions Use of this function is always allowed by default
Extra Delay 0 seconds
Example(s)
//
// osWindActiveModelPluginName Script Example
//

default
{
    state_entry()
    {
        llSay(PUBLIC_CHANNEL, "Touch to see osWindActiveModelPluginName usage.");
    }

    touch_start(integer number)
    {
        llSay(PUBLIC_CHANNEL, "The wind active model plugin name is \"" + osWindActiveModelPluginName() + "\".");         
    }
}


See Also: