I would like to know whether there is any m开发者_如何学Cechanism to retrieve the display text of an object. As far as I know, there's no direct LSL function for that.
Isn't there any property that we can use to extract this information?
Assuming you mean the text that hovers over an object:
That text is set by calling llSetText, but there is no corresponding llGetText. Instead, you can use llGetPrimitiveParams with the constant PRIM_TEXT, like so:
list params = llGetPrimitiveParams([PRIM_TEXT]);
string text = llList2String(params, 0);
精彩评论