I would like to know whether there is any mechanism 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?
I would like to know whether there is any mechanism 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?
オブジェクトの上に浮かぶテキストを意味すると仮定します。
そのテキストはllSetTextを呼び出すことによって設定されますが、対応するllGetTextはありません。代わりに、次のように、定数PRIM_TEXTを指定してllGetPrimitiveParamsを使用できます。
list params = llGetPrimitiveParams([PRIM_TEXT]);
string text = llList2String(params, 0);