Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llGetScale() but no llGetLinkScale() arggggg

WhiteStar Magic
Build it+Script it=RUN!
Join date: 24 Jul 2008
Posts: 36
03-01-2009 17:24
Hey there,

I was wondering if anyone has found a way to get the scale of a Linked Prim ?
llGetScale() works fine for the prim that it's in BUT there is no comparative llGetLinkScale(), and without an implemented llGetLinkPrimitiveParams() life gets a tad difficult.

Any Ideas or Suggestions ?

I am trying to avoid using a slave script in every prim that requires this feature. It's just poor form.

Thanks in Advance

PS I searched everywhere I could think of and could not find a solution.
_____________________
Build it, Script it & Enjoy It, then Share it !!!
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
03-01-2009 18:34
Unfortunately you did a good job of research.

On a slightly political note: I have always heard that llGetLinkPrimitiveParams was never added because of the fear it would make things easier to steal. If this was the true reasoning then it is a stupid argument. If someone is going to steal something they would not go to all of this trouble, there are easier ways to be dishonest.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
WhiteStar Magic
Build it+Script it=RUN!
Join date: 24 Jul 2008
Posts: 36
03-01-2009 19:51
From: Jesse Barnett

" I have always heard that llGetLinkPrimitiveParams was never added because of the fear it would make things easier to steal. "


Well now there is the LL Thinking Process HARD AT WORK ! (Just like City Workers)

And yes... I agree, if anyone wants to really swipe something, there are already several ways to accomplish that and replicate an item to a T. But we shant discuss those things here, for there are Lurkers who would make use of such tech.

So as to the original item in question... Then Slave Scripts are the only & unfortunate option that must be used. Hmmm... Try to reduce LAG by using less active scripts, yet LL blocks us in our attempts.

I suppose, another approach would be: IF( Not Used Often ) would be to push a script into the prim, do the deed and auto-delete. Not an option for my application.

Now a llSetLinkScriptState() would be nice.. but also non-existent !

Ahh the challenges of LSL ! :D
_____________________
Build it, Script it & Enjoy It, then Share it !!!
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
03-01-2009 20:12
Could also be for the same kind of reason we don't have llGetText() to match llSetText(), which is I am sure a means of making it difficult to use primitive attributes as a convenient form of persistent storage....
WhiteStar Magic
Build it+Script it=RUN!
Join date: 24 Jul 2008
Posts: 36
03-01-2009 21:20
Your Right Hewee... The Persistent Storage issue is a Royal PITA ... I'm not going there! LOL

BUT llTextBox(key id, "Your Text Info",CHANNEL) seems to be in the works, THANK GOODNESS ! Like THAT should have been done ages ago. in Viewer 1.12.6 + it's there but not quite "all there" yet.

Maybe a current list of things to Vote For would be handy to get a few things moving. Should anyone be listening to the folks who have to use this.
_____________________
Build it, Script it & Enjoy It, then Share it !!!
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-01-2009 22:13
back to the op's point, the only way to avoid reading scale from the child prims, is to memorize it each time you change it... so you'll have to track the changes via script, or set a script in each prim you want to read that property from
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -