Difference between revisions of "LlRequestInventoryData"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 1: | Line 1: | ||
{{LSL_Function/inventory|name|uuid=false | {{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 | |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 | |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
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: key llRequestInventoryData( string name );156 | Function ID |
1.0 | Forced Delay |
10.0 | Energy |
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.