Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Proposal: llSetLinkName / llSetLinkDesc()

Kitten Lulu
Registered User
Join date: 8 Jul 2005
Posts: 114
03-12-2006 06:48
I am posting here as a first step toward a full feature proposal.

Scripts often need persistent storage that survives reset. In multi-prim objects, the child prims still have their own name and description, but they can't be written by the objects themselves today.

Proposal:
I propose three additional functions:
string llGeLinkDesc(integer linknum) -- gets the descritpion of the child prim identified by linknum
llSetLinkDesc(integer linknum, string newdesc) -- sets the description of said child prim
llSetLinkName(integer linknum, string newname) - sets the name of said child prim
(llGetLinkName() already exists in LSL)

We can use this area to store our data and it's much easier to implement that adding a new storage area.
_____________________
I've got a blog!

My products are available on SLExchange or in-world in my shops: Kitten Lulu's Emporium and Kitten&Co.
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
03-12-2006 08:23
You can use llSetObjectDesc and llSetObjectName in conjunction with llCreateLink and llBreakLink. Although I am in favor of any function that increases linked set management. :)

*edit* oh if we get this, I want llSetLinkTexture as well :)
_____________________