Difference between revisions of "LlGetInventoryKey"

From Second Life Wiki
Jump to navigation Jump to search
m (added link)
Line 3: Line 3:
|func_id=175|func_sleep=0.0|func_energy=10.0
|func_id=175|func_sleep=0.0|func_energy=10.0
|func=llGetInventoryKey|return_type=key|p1_type=string|p1_name=name
|func=llGetInventoryKey|return_type=key|p1_type=string|p1_name=name
|func_footnote=If '''item''' is not [[llGetInventoryPermMask|copy, mod, trans]] then the return is [[NULL_KEY]]
|func_footnote=If '''item''' is not [[llGetInventoryPermMask|copy, mod, trans]] then the return is {{LSL Const|NULL_KEY|key|"00000000-0000-0000-0000-000000000000"|c=Evaluates to false in conditionals just like invalid keys.}}
|func_desc
|func_desc
|sort=GetInventoryKey
|sort=GetInventoryKey

Revision as of 08:31, 12 November 2007

Summary

Function: key llGetInventoryKey( string name );

Returns a key that is the UUID of the inventory name

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

If item is not copy, mod, trans then the return is NULL_KEY

Caveats

  • 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 llGetInventoryKey( string name );