Difference between revisions of "LlGiveInventory"

From Second Life Wiki
Jump to navigation Jump to search
Line 4: Line 4:
|p1_type=key|p1_name=destination|p1_desc=Avatar or object [[UUID]].
|p1_type=key|p1_name=destination|p1_desc=Avatar or object [[UUID]].
|p2_type=string|p2_name=inventory
|p2_type=string|p2_name=inventory
|func_footnote=The object '''destination''' must be in the same [[sim]].<br/>The avatar '''destination''' does not have to be in the same sim.
|func_footnote=If '''destination''' is an object then it must be in the same [[region]].<br/>If '''destination''' is an avatar they do not have to be in the same region.
|func_desc=Give '''inventory''' to '''destination'''.
|func_desc=Give '''inventory''' to '''destination'''.
|return_text
|return_text

Revision as of 18:27, 15 May 2007

Summary

Function: llGiveInventory( key destination, string inventory );

Give inventory to destination.

• key destination Avatar or object UUID.
• string inventory an item in the inventory of the prim this script is in

If destination is an object then it must be in the same region.
If destination is an avatar they do not have to be in the same region.

Caveats

  • If inventory is missing from the prim's inventory then an error is shouted on DEBUG_CHANNEL.
  • There is no way to know if the transaction failed.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Events

Functions

Deep Notes

Search JIRA for related Issues

Signature

function void llGiveInventory( key destination, string inventory );