Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

New to scripting please (simple question I'm sure of it)

Peaches Ugajin
Registered User
Join date: 20 Jul 2008
Posts: 7
10-31-2009 19:55
Wanted to learn LSL scripting so I picked something i thought would be simple ... guess again!!! i think i got it for the most part except one thing the hover text wont reset when the script is reset .. What did i do wrong? please help me before i pull out what is left of my hair.. thank you in advanced ....
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
10-31-2009 20:17
You can just stick an llSetText with some starter message (even blank if you like) into your state_entry().

llSetText is really a prim property, it works like a texture or size. That's why it sticks around even if the script is gone, or gets reset. To change or erase it, you have to do it explicitly.
Peaches Ugajin
Registered User
Join date: 20 Jul 2008
Posts: 7
thank you Viktoria
11-01-2009 09:49
i had forgot a text refresh in the reset...