LlRequestSimulatorData

From Second Life Wiki

Second Life Wiki > LSL Portal > Built-in Functions > LlRequestSimulatorData
Jump to: navigation, search

Template:Needs Translation/LSL/de Template:Needs Translation/LSL/es Template:Needs Translation/LSL/el Template:Needs Translation/LSL/he Template:Needs Translation/LSL/it Template:Needs Translation/LSL/ko Template:Needs Translation/LSL/nl Template:Needs Translation/LSL/hu Template:Needs Translation/LSL/no Template:Needs Translation/LSL/da Template:Needs Translation/LSL/sv Template:Needs Translation/LSL/tr Template:Needs Translation/LSL/pl Template:Needs Translation/LSL/pt Template:Needs Translation/LSL/ru Template:Needs Translation/LSL/uk Template:Needs Translation/LSL/zh-Hans Template:Needs Translation/LSL/zh-Hant

Contents

Summary

Buggy
Function: key llRequestSimulatorData( string simulator, integer data );
293 Function ID
1.0 Delay
10.0 Energy

Requests data about simulator. When data is available the dataserver event will be raised.
Returns a key that is the handle for a dataserver event response.

• string simulator
• integer data DATA_* flag
data Constant Type Description
DATA_SIM_POS 5 (vector) The regions global position.
DATA_SIM_STATUS 6 string Value Description
"up" region currently up and running
"down" region currently down
"starting" region currently starting
"stopping" region currently stopping
"crashed" region has crashed
"unknown" region status unknown or unknown simulator
DATA_SIM_RATING 7 string region rating "PG", "MATURE", "ADULT" or "UNKNOWN"

Caveats

  • This function causes the script to sleep for 1.0 seconds.

Important Issues

~ Search JIRA for related Bugs
Bug - A problem which impairs or prevents the functions of the product. Fix Pending - Issues that have been fixed in Linden Lab's internal codebase, but not yet deployed in a viewer    Script dataserver events become permanently blocked until sim restart

Examples

Deep Notes

Issues

~ Search JIRA for related Issues
Bug - A problem which impairs or prevents the functions of the product. Fix Pending - Issues that have been fixed in Linden Lab's internal codebase, but not yet deployed in a viewer    Script dataserver events become permanently blocked until sim restart

Tests

•  llRequestSimulatorData Test
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.
Personal tools
In other languages