Difference between revisions of "LlGiveInventory"

From Second Life Wiki
Jump to navigation Jump to search
Line 9: Line 9:
|spec
|spec
|caveats=*There is no way to know if the transaction failed.
|caveats=*There is no way to know if the transaction failed.
*Scripts reach '''destination''' disabled (not running). To send a running script to a prim use llSetRemoteScriptAccessPin  
*Scripts reach '''destination''' disabled (not running). To send a running script to a prim use [[llSetRemoteScriptAccessPin]]
|constants
|constants
|examples
|examples
|helpers
|helpers
|also_functions=*{{LSLG|llGiveInventoryList}}
|also_functions={{LSL DefineRow||[[llGiveInventoryList]]}}
*{{LSLG|llSetRemoteScriptAccessPin}}
{{LSL DefineRow||[[llSetRemoteScriptAccessPin]]}}
|also_events=*{{LSLG|changed}}
|also_events={{LSL DefineRow||[[changed]]}}
|also_tests
|also_tests
|also_articles
|also_articles

Revision as of 05:08, 25 August 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.
  • Scripts reach destination disabled (not running). To send a running script to a prim use llSetRemoteScriptAccessPin
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Events

•  changed

Functions

•  llGiveInventoryList
•  llSetRemoteScriptAccessPin

Deep Notes

Search JIRA for related Issues

Signature

function void llGiveInventory( key destination, string inventory );