Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Loading scripts into child prims

grumble Loudon
A Little bit a lion
Join date: 30 Nov 2005
Posts: 612
01-01-2007 13:17
Question.

Can llRemoteLoadScriptPin be used to load scripts into linked child prims?
http://www.lslwiki.com/lslwiki/wakka.php?wakka=llRemoteLoadScriptPin
PS: I added a note at the bottom of the wiki page.

Background.
As you know each script adds sim load, but things like llSitTarget are not copyed when you make a copy of an item. This means that there are a lot of idle scripts everywhere. My sim has over 3000 scrips someplace in it. *Innocent look*

I am making theater seats and I don't want to have to add and delete the scripts each time I copy the seats so I am thinking of using llRemoteLoadScriptPin to drop a updating script into the seats and then have them remove themselves from inventory using chat.

This is similar to how the Autobahn scripts work
http://www.lslwiki.com/lslwiki/wakka.php?wakka=AutobahnRoad
Silje Russell
lsl geek
Join date: 2 Oct 2005
Posts: 63
01-01-2007 17:09
yes it can load into child prims.
but not sure how its with pin.
you must need to know child prim key at least llGetLinkKey(integer link)
But if i am not wrong you must have pin on eash prim to dont tink the root pin is seted on the child prims..
_____________________
Yes i know i got typos..
I got writing and reading problems.
but i am still a humen!!