Difference between revisions of "LlRequestInventoryData"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function/inventory|name|uuid=false|type=landmark}}
{{LSL_Function/inventory|name|uuid=false}}
{{LSL_Function
{{LSL_Function
|func_id=156|func_sleep=1.0|func_energy=10.0
|func_id=156|func_sleep=1.0|func_energy=10.0
Line 6: Line 6:
|p1_type=string|p1_name=name|p1_desc
|p1_type=string|p1_name=name|p1_desc
|func_footnote
|func_footnote
|func_desc=Requests data from objects inventory object. When data is available the {{LSLG|dataserver}} event will be raised.
|func_desc=Requests data from objects inventory object. When data is available the [[dataserver]] event will be raised.
|return_text=that is used to identify the {{LSLG|dataserver}} event when it is raise.
|return_text=that is used to identify the [[dataserver]] event when it is raise.
|spec
|spec
|caveats
|caveats
|constants
|constants=
{{{!}} {{Prettytable}}
{{!}}-{{Hl2}}
! colspan="2" title="name Inventory Type"{{!}}{{LSL Param|name}} Type
! title="typecast needed to decode the return for the payload of the dataserver event" {{!}} [[dataserver]]
! {{!}} Description
{{!}}-
{{LSL Constants/llRequestInventoryData}}
{{!}}}
|examples
|examples
|helpers
|helpers

Revision as of 02:54, 9 August 2007

Summary

Function: key llRequestInventoryData( string name );

Requests data from objects inventory object. When data is available the dataserver event will be raised.
Returns a key that is used to identify the dataserver event when it is raise.

• string name an item in the inventory of the prim this script is in

name Type dataserver Description
Landmark (vector) The vector data received by dataserver is a global position as an offset from the current region's origin (<0,0,0>). To obtain the absolute global position of a landmark, add llGetRegionCorner() to the vector.

Caveats

  • This function causes the script to sleep for 1.0 seconds.
  • If name is missing from the prim's inventory then an error is shouted on DEBUG_CHANNEL.
All Issues ~ Search JIRA for related Bugs

Examples

Deep Notes

Search JIRA for related Issues

Signature

function key llRequestInventoryData( string name );