Join us in Outworldz at or follow us:

[Table of Contents]

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Set Text SetLinkText  


I've always seen lots of scripts that used llMessageLinked() and llSetText() to be able to make hover text over prims other then the prim the script is in. it's because of this that i made this custom function which uses llSetLinkPrimitiveParamsFast() to set hover text over prims via one script other than the prim that the script is in. I first looked to see if someone else had done this and i found this page . that is pretty much what i did and the format for using it.

To use a custom function such as this the function you must put it be before default in the script which I will show in the example. Afterwords you can use it to your hearts desire within the script itself.

-Disclaimer- Your allowed to modify this any way you want and use it. If any way is found to use this for Griefing I am not to be held responsible.

Category: Set Text
By : Tacusin Memo
Created: 2010-12-27 Edited: 2010-12-27
Worlds: Second Life

the Zip file

Download all files for SetLinkText
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. SetLinkText_1.lsl
1 SetLinkText( integer linknumber, string text, vector color, float alpha )
2 {
3 llSetLinkPrimitiveParamsFast(linknumber,[PRIM_TEXT,text,color,alpha]);
4 }
5 /*
6 Above here is the function that allows it to work
8 This example makes the prim you click in the Link Set display the word Hello above it in Red text
9 */
10 default
11 {
12 touch_start(integer total_number)
13 {
14 SetLinkText(llDetectedLinkNumber(0),"Hello",<1,0,0>,1);
15 }
16 }

Back to the Best Free Tools in Second Life and OpenSim.