|
Xhawkx Holden
Registered User
Join date: 1 Nov 2006
Posts: 86
|
07-16-2008 07:50
I am in need of getting linked primitives parameters. It looks to me like this isn't an available function. Does anyone have any good suggestions for working around this? Thanks
|
|
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
|
07-16-2008 08:57
Unfortunately no, other than putting a script in each prim, that expects a linked message query and replies via linked message. Such a waste of resources.
|
|
Xhawkx Holden
Registered User
Join date: 1 Nov 2006
Posts: 86
|
07-18-2008 16:41
ok.. So I am trying to work around this in this fashion... I have a main script in the main prim. That will give a secondary script that has a link_message listener in it to each linked object. I can get it to give the script.. however, the copy of the script in the linked object is set to NOT RUNNING....
How can I get around this without having to manually copy the secondary script to each linked prim, or edit each linked prim to set the script to running?? Any thoughts?
|
|
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
|
07-18-2008 16:43
I'm curious what you're trying to make. Maybe if you told us what it's supposed to do, somebody might have a better solution.
|
|
Kaluura Boa
Polygon Project
Join date: 27 Mar 2007
Posts: 194
|
07-18-2008 17:14
From: Xhawkx Holden I have a main script in the main prim. That will give a secondary script that has a link_message listener in it to each linked object. I can get it to give the script.. however, the copy of the script in the linked object is set to NOT RUNNING... There's no way around this. Unless you prepare your prims to receive a running script... And that operation requires to put a running script in every prim... So... Bad luck. The only way to get out of this hell circle is to do what you're already doing and when all the scripts are where they belong, take the object in inventory, rez it and set all the script to running with the Tools menu. To avoid the hassle, study llSetRemoteScriptAccessPin() and llRemoteLoadScriptPin(). You only need to do it once and then you'll be able to give running scripts to your child prims whenever you want. This is really useful to be able to update a bunch of linked sub-scripts...
|
|
Xhawkx Holden
Registered User
Join date: 1 Nov 2006
Posts: 86
|
07-18-2008 17:32
What I am trying to do is this.. I have an object that is 97 prims all linked together. I want to be able to drop a script into the main prim.. and get all of the linked prims parameters. Eventually I will take all the properties of each prim and either SayOwner each prims property as a line... or post to an HTTP database so that I can recreate the entire model. I am attempting to accomplish this without having to manually put a script into each linked prim. I think I will be able to use Kaluura's idea.. of using the script I all ready have.. to put the script in each linked prim... then using the tools menu to enable all scripts.
|