|
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
|
05-01-2008 02:14
Is there anyway in a script to get [PRIM_TYPE] except by llGetPrimitiveParams() ??? (I would love to have a: llGetLinkPrimitiveParams() but can't find it anywhere)
_____________________
From Studio Dora
|
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
05-01-2008 05:57
Nope, only with llGetPrimitiveParams
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
05-01-2008 10:10
create a "worm".. it requires either planning, or brute force.. but if you create a small script that responds to a linkmessage, you can use llGiveInventory in a loop to "install" that script into every prim in the linkset. The script can run, report it's data to the core script, and then self-destruct.
There's a way to do it "elegantly" using llRemoteLoadScriptPin, but you must first have SET said PIN before hand, on each prim...
the brute force method involves using llGiveInventory to give the script to each prim in the set, then using "take" and re-rezzing it several times, each time trying to do a manual "reset script in selection" and "set scripts to running in selection".. eventually you'll coax all the scripts into a running state, but it takes some patience.
(I had to do this to retroactively rename a whole big mess of the prims in a 152 prim object.... this is of course a great way to get that "PIN" set in a huge linkset that you "forgot" to prime.)
_____________________
 ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura
|
|
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
|
05-01-2008 15:47
From: Winter Ventura create a "worm".. it requires either planning, or brute force.. but if you create a small script that responds to a linkmessage, you can use llGiveInventory in a loop to "install" that script into every prim in the linkset. The script can run, report it's data to the core script, and then self-destruct.
There's a way to do it "elegantly" using llRemoteLoadScriptPin, but you must first have SET said PIN before hand, on each prim...
the brute force method involves using llGiveInventory to give the script to each prim in the set, then using "take" and re-rezzing it several times, each time trying to do a manual "reset script in selection" and "set scripts to running in selection".. eventually you'll coax all the scripts into a running state, but it takes some patience.
(I had to do this to retroactively rename a whole big mess of the prims in a 152 prim object.... this is of course a great way to get that "PIN" set in a huge linkset that you "forgot" to prime.) Oh my dear! interesting but not very appealing I'm afraid. And from what I read you cant give inventory to linked prims... is that so or not?
_____________________
From Studio Dora
|
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
05-01-2008 21:08
From: Dora Gustafson Oh my dear! interesting but not very appealing I'm afraid. And from what I read you cant give inventory to linked prims... is that so or not? Sure you can. Every prim has a key, even in a linked set. Getting that key, however, may be difficult from outside the object, but works fine inside the object.
|