llGetEnv
Revision as of 01:52, 2 December 2010 by Cerise Resident (talk | contribs) (Created page with '{{LSL Generic/RC|LeTigre}} {{LSL_Function |func_id=???|func_sleep=0.0|func_energy=0.0 |func= llGetEnv |sort= llGetEnv |return_type=string |p1_type=string|p1_name=name|p1_desc |fu...')
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Important: This feature is currently only available on the LeTigre server channel. |
Summary
Function: string llGetEnv( string name );??? | Function ID |
0.0 | Forced Delay |
0.0 | Energy |
Returns a string with the requested data about the region where the script is running.
• string | name |
Name | Description |
---|---|
"sim_channel" | Get the current region's channel string, for example "Second Life Server" |
"sim_version" | Get the current region's version number string, for example "10.11.30.215699" |
Caveats
Examples
<lsl> default {
touch_start(integer total_number) { llOwnerSay("Region " + llGetRegionName() + " is running " + llGetEnv("sim_channel") + " version " + llGetEnv("sim_version")); }
}
</lsl>See Also
Functions
• | llRequestSimulatorData | |||
• | llGetSimulatorHostname | |||
• | llGetRegionFlags |