OsWindActiveModelPluginName
From OpenSimulator
(Difference between revisions)
m (Change See Also) |
|||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{osslfunc | + | {{osslfunc |
| − | threat_level = None | + | |threat_level=None |
| − | | | + | |permissions=true |
| − | function_syntax = <source lang="lsl"> | + | |delay=0 |
| − | osWindActiveModelPluginName(); | + | |function_syntax=string osWindActiveModelPluginName() |
| + | |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> | </source> | ||
| − | | | + | |description=Gets active wind plugin name, specified by "wind_plugin" in OpenSim.ini ("SimpleRandomWind" or "ConfigurableWind"). |
| − | + | ||
| − | + | ||
| − | + | ||
| | | | ||
}} | }} | ||
| + | == See Also == | ||
| + | * [[osGetWindParam]] | ||
| + | * [[osSetWindParam]] | ||
Latest revision as of 19: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() + "\"."); } } | |