LlRequestSimulatorData: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Strife Onizuka (talk | contribs)
No edit summary
Strife Onizuka (talk | contribs)
mNo edit summary
Line 8: Line 8:
|spec
|spec
|caveats
|caveats
|constants={{{!}} {{Prettytable}}
|constants={{{!}} {{Prettytable|style=margin-top:0;}}
{{!}}- {{Hl2}}
{{!}}- {{Hl2}}
! colspan="2" {{!}} {{LSL Param|data}} Constant
! colspan="2" {{!}} {{LSL Param|data}} Constant

Revision as of 10:40, 6 July 2008

Summary

Function: key llRequestSimulatorData( string simulator, integer data );
1.0 Forced 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 region
DATA_SIM_RATING 7 string Value Maturity rating
"PG" General
"MATURE" Moderate
"ADULT" Adult
"UNKNOWN" rating or region unknown

Caveats

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

Examples

Deep Notes

Signature

function key llRequestSimulatorData( string simulator, integer data );