OsWindActiveModelPluginName

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m
m (Change See Also)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| width="100%" style="border: thin solid black"
+
{{osslfunc
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
+
|threat_level=None
|- valign="top"
+
|permissions=true
|'''Threat Level''' || None
+
|delay=0
 +
|function_syntax=string osWindActiveModelPluginName()
 +
|ossl_example=<source lang = "lsl">
 +
//
 +
// osWindActiveModelPluginName Script Example
 +
//
  
|- valign="top"
+
default
|'''Function Syntax''' || <source lang="lsl">
+
{
osWindActiveModelPluginName();
+
    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>
 
</source>
|- valign="top"
+
|description=Gets active wind plugin name, specified by "wind_plugin" in OpenSim.ini ("SimpleRandomWind" or "ConfigurableWind").
|'''Example(s)||
+
|
 
+
}}
|}
+
== See Also ==
 
+
* [[osGetWindParam]]
[[Category:OSSL Functions]]
+
* [[osSetWindParam]]
[[Category:OSSL_functions_without_example]]
+

Latest revision as of 20:10, 5 December 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() + "\".");         
    }
}


[edit] See Also

Personal tools
General
About This Wiki