Difference between revisions of "Talk:LlGetInventoryDesc"

From Second Life Wiki
Jump to navigation Jump to search
(Bad idea)
 
Line 1: Line 1:
I forsee a major problem with this function. How does it determine which of several objects with the same name is the one that's required? The default name for all prims is 'Object', and I'm as guilty as the next party of leaving 'em named that way. Essentially, this function (and the list of related functions) is asking for individual functions to retrieve the information already available by using llGetObjectDetails with appropriate selections in the parameter list. Also, since llGetObjectDetails goes by UUID instead of name, the results are guaranteed to be specific to that one item, not anything else that may happen to have the same string name. --[[User:Reynard_Baroque|<span style="background:red;">&nbsp;&nbsp;</span><span style="color:red"> <b>&yen;</b> </span><span style="background:red;">&nbsp;&nbsp;</span><span style="color:gold;background:navy;">&nbsp;<b>Reynard</b>&nbsp;</span>]] 21:12, 8 April 2011 (PDT)
I forsee a major problem with this function. How does it determine which of several objects with the same name is the one that's required? The default name for all prims is 'Object', and I'm as guilty as the next party of leaving 'em named that way. Essentially, this function (and the list of related functions) is asking for individual functions to retrieve the information already available by using llGetObjectDetails with appropriate selections in the parameter list. Also, since llGetObjectDetails goes by UUID instead of name, the results are guaranteed to be specific to that one item, not anything else that may happen to have the same string name. --[[User:Reynard_Baroque|<span style="background:red;">&nbsp;&nbsp;</span><span style="color:red"> <b>&yen;</b> </span><span style="background:red;">&nbsp;&nbsp;</span><span style="color:gold;background:navy;">&nbsp;<b>Reynard</b>&nbsp;</span>]] 21:12, 8 April 2011 (PDT)
: ''I don't see, either, what it does that llGetObjectDetails(id,[OBJECT_DESC]), llGetLinkPrimitiveParams(n,[PRIM_DESC])or llGetObjectDetails() won't do. Or is the idea to find out the description of an object '''in a prim's inventory?''' [[User:Innula Zenovka|Innula Zenovka]] 05:40, 9 April 2011 (PDT)

Revision as of 05:40, 9 April 2011

I forsee a major problem with this function. How does it determine which of several objects with the same name is the one that's required? The default name for all prims is 'Object', and I'm as guilty as the next party of leaving 'em named that way. Essentially, this function (and the list of related functions) is asking for individual functions to retrieve the information already available by using llGetObjectDetails with appropriate selections in the parameter list. Also, since llGetObjectDetails goes by UUID instead of name, the results are guaranteed to be specific to that one item, not anything else that may happen to have the same string name. --   ¥    Reynard  21:12, 8 April 2011 (PDT)

I don't see, either, what it does that llGetObjectDetails(id,[OBJECT_DESC]), llGetLinkPrimitiveParams(n,[PRIM_DESC])or llGetObjectDetails() won't do. Or is the idea to find out the description of an object in a prim's inventory? Innula Zenovka 05:40, 9 April 2011 (PDT)