3

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?

4

1 に答える 1

5

オブジェクトの上に浮かぶテキストを意味すると仮定します。

そのテキストはllSetTextを呼び出すことによって設定されますが、対応するllGetTextはありません。代わりに、次のように、定数PRIM_TEXTを指定してllGetPrimitiveParamsを使用できます。

list params = llGetPrimitiveParams([PRIM_TEXT]);
string text = llList2String(params, 0);
于 2010-03-07T18:26:10.863 に答える