LlGetInventoryCreator

From Second Life Wiki

Second Life Wiki > LSL Portal > Built-in Functions > LlGetInventoryCreator
Jump to: navigation, search

Template:Needs Translation/LSL/es Template:Needs Translation/LSL/el Template:Needs Translation/LSL/he Template:Needs Translation/LSL/it Template:Needs Translation/LSL/ko Template:Needs Translation/LSL/nl Template:Needs Translation/LSL/hu Template:Needs Translation/LSL/no Template:Needs Translation/LSL/da Template:Needs Translation/LSL/sv Template:Needs Translation/LSL/tr Template:Needs Translation/LSL/pl Template:Needs Translation/LSL/pt Template:Needs Translation/LSL/ru Template:Needs Translation/LSL/uk Template:Needs Translation/LSL/zh-Hans Template:Needs Translation/LSL/zh-Hant

Contents

Summary

Function: key llGetInventoryCreator( string item );
291 Function ID
0.0 Delay
10.0 Energy

Returns a key of the creator of the inventory item.

• string item an item in the prim's inventory

Caveats

  • If item is missing from the prim's inventory then an error is shouted on DEBUG_CHANNEL.

Search JIRA for related Bugs

Examples

Add an object to a prims inventory, as well as this script, in order to get the name of the creator.

default{
    state_entry(){
        llRequestAgentData(llGetInventoryCreator(llGetInventoryName( INVENTORY_OBJECT, 0)),DATA_NAME);
    }
 
    dataserver(key qid, string data){
        llOwnerSay(data);
    }
}

See Also

Functions

•  llGetInventoryName Returns the inventory item's name
•  llGetInventoryType Tests to see if an inventory item exists and returns its type
•  llGetInventoryNumber Returns the number of items of a specific type in inventory
•  llGetInventoryPermMask Returns the inventory item's permissions
•  llGetInventoryKey Returns the inventory item's UUID (if full perm)

Deep Notes

This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.
Personal tools
In other languages