Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Hovering text doesn't go away?

Jinsar Eponym
Registered User
Join date: 13 Feb 2006
Posts: 127
02-25-2006 18:40
Why is it that when I turn off a hovering text script and delete it from the object, it still persists in displaying the text?
Sydney Alexander
Registered User
Join date: 19 Feb 2005
Posts: 69
02-25-2006 18:50
From: Jinsar Eponym
Why is it that when I turn off a hovering text script and delete it from the object, it still persists in displaying the text?


You will want to use the same llSetText("Hello.", <1,0,0>, 1.0);, but this time take out the text and leave only the "": llSetText("", <1,0,0>, 1.0); through that in a script and it will set the txt to blank. you can then remove the script again. This has something to do with the llSetText atribute belonging to the prim/object not the script that set it.

Hope that helps! ;)
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
02-25-2006 20:15
From: someone
Note: This floating text is a property of the prim, not the script. As such, it will remain until removed explicitly. Simply deleting the script that set the text will not remove the text.


http://secondlife.com/badgeo/wakka.php?wakka=llSetText
Moss Talamasca
Serpent & Thistle
Join date: 20 Aug 2005
Posts: 367
That's not all
02-25-2006 20:55
You'll find that quite alot of scripts keep going even after being removed. llSetOmega, for instance.

Be careful where you put scripts. I ususally save a copy of an artifact before i script it.
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
02-25-2006 21:09
Kill Hovertext
CODE

default
{
state_entery()
{
llSetText("",ZERO_VECTOR,0);
}
}

Kill Omega
CODE

default
{
state_entery()
{
llTargetOmega(ZERO_VECTOR,0,0);
}
}

Kill Texture Animation
CODE

default
{
state_entery()
{
lllSetTextureAnim(0,0,0,0,0,0,0);
}
}

Kill Particles
CODE

default
{
state_entery()
{
llParticleSystem([]);
}
}

Kill Sit Pos
CODE

default
{
state_entery()
{
llSitTarget(ZERO_VECTOR,ZERO_ROTATION);
}
}
Moss Talamasca
Serpent & Thistle
Join date: 20 Aug 2005
Posts: 367
02-26-2006 02:09
also, a personal favorite and one of great use:
CODE

Kill Hovering BlueCube

default
{
state_entry()
{
llSetLiberal("",IMPEACH_BUSH, 0);
}
}
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
02-26-2006 02:46
RemoteLoad access pin, camera offset and camera target are recorded in the prim, too.
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.