Difference between revisions of "LlRequestSimulatorData"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSLFunctionAll|func_id=293|func_sleep=1.0|func_energy=10.0|func=llRequestSimulatorData|return_type=key|p1_type=string|p1_name=simulator|p2_type=integer|p2_name=data|func_footnote=Requests data about simulator. When data is available the dataserver event will be raised|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSL_Function
|func_id=293|func_sleep=1.0|func_energy=10.0
|func=llRequestSimulatorData
|return_type=key|p1_type=string|p1_name=simulator|p2_type=integer|p2_name=data
|func_footnote
|func_desc=Requests data about simulator. When data is available the {{LSLG|dataserver}} event will be raised
|return_text=that is the handle for a {{LSLG|dataserver}} event response.
|spec
|caveats
|constants={{{!}}
!Constant
!Value
!Description
{{!}}-
{{!}}{{LSLG|DATA_SIM_POS}}
{{!}}5
{{!}}returns a vector specifying the simulator's global position.
{{!}}-
{{!}}{{LSLG|DATA_SIM_STATUS}}
{{!}}6
{{!}}returns a string
{{!}}-
{{!}}{{LSLG|DATA_SIM_RATING}}
{{!}}7
{{!}}returns a string, either "PG", "MATURE" or "UNKNOWN"
{{!}}}
|examples
|helpers
|also_functions
|also_tests
|also_events
|also_articles
|notes
|cat1=Dataserver
|cat2
|cat3
|cat4
}}

Revision as of 16:08, 21 February 2007

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

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.
All Issues ~ Search JIRA for related Bugs

Examples

Deep Notes

Search JIRA for related Issues

Signature

function key llRequestSimulatorData( string simulator, integer data );