OsWindActiveModelPluginName

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Added permissions and delay information)
(Add exemple)
Line 4: Line 4:
 
|delay=0
 
|delay=0
 
|function_syntax=string osWindActiveModelPluginName()
 
|function_syntax=string osWindActiveModelPluginName()
|ossl_example=See [[osGetWindParam]] or [[osSetWindParam]] example
+
|ossl_example=<source lang = "lsl">
 +
//
 +
// 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() + "\".");       
 +
    }
 +
}
 +
</source>
 
|description=Gets active wind plugin name, specified by "wind_plugin" in OpenSim.ini ("SimpleRandomWind" or "ConfigurableWind").
 
|description=Gets active wind plugin name, specified by "wind_plugin" in OpenSim.ini ("SimpleRandomWind" or "ConfigurableWind").
 
|
 
|
 
}}
 
}}
 +
'''See Also:'''
 +
* [[osGetWindParam]]
 +
* [[osSetWindParam]]

Revision as of 11:09, 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:

Personal tools
General
About This Wiki