Difference between revisions of "LlRequestSimulatorData"

From Second Life Wiki
Jump to navigation Jump to search
Line 8: Line 8:
|spec
|spec
|caveats
|caveats
|constants={{{!}}
|constants={{{!}} {{Prettytable}}
!Constant
!Constant
!Value
!Value

Revision as of 15:08, 21 February 2007

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

Constant Value Description
DATA_SIM_POS 5 returns a vector specifying the simulator's global position.
DATA_SIM_STATUS 6 returns a string
DATA_SIM_RATING 7 returns a string, either "PG", "MATURE" or "UNKNOWN"

Caveats

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

Examples

Deep Notes

Signature

function key llRequestSimulatorData( string simulator, integer data );