llRequestSimulatorData

From Second Life Wiki
Revision as of 16:50, 21 February 2007 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

Summary

Function: key llRequestSimulatorData( string simulator, integer data );

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

See dataserver for information about the return.

| DATA_SIM_POS | 5 | (vector) | colspan="4" | The regions global position. |- | rowspan="7" | DATA_SIM_STATUS | rowspan="7" | 6 | rowspan="7" | string ! Value ! colspan="3" | Description |- | "up" | colspan="3" | region currently up and running |- | "down" | colspan="3" | region currently down |- | "starting" | colspan="3" | region currently starting |- | "stopping" | colspan="3" | region currently stopping |- | "crashed" | colspan="3" | region has crashed |- | "unknown" | colspan="3" | region status unknown or unknown region |- | rowspan="5" | DATA_SIM_RATING | rowspan="5" | 7 | rowspan="5" | string ! Value ! colspan="3" | Maturity rating |- | "PG" | colspan="3" | Parcel lght G.png General |- | "MATURE" | colspan="3" | Parcel lght M.png Moderate |- | "ADULT" | colspan="3" | Parcel lght A.png Adult |- | "UNKNOWN"

| colspan="3" | rating or region unknown

Caveats

  • This function causes the script to sleep for 1.0 seconds.
All Issues ~ Search JIRA for related Bugs

Examples

Deep Notes

Search JIRA for related Issues

Signature

function key llRequestSimulatorData( string simulator, integer data );