Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSetLinkPrimitiveParams question

Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
03-21-2007 13:55
So, it appears that this function is working now, at least in part.

My question is to any that have had experience with this yet.

I wanted to see if I could use this to change a property on multiple prims with one function call, but either I'm not using the command properly, or it only supports one prim at a time.

Does anyone know if this can be done?

I was thinking it should be as simple as...

CODE
llSetLinkPrimitiveParams(59,[PRIM_COLOR,ALL_SIDES,<1,0,0>,1.0]
,61,[PRIM_COLOR,ALL_SIDES,<1,0,0>,1.0]);


...but I get a too many arguments error.

I can understand if it cannot support this at all, though I would find the function a lot more useful if it did..
Thraxis Epsilon
Registered User
Join date: 31 Aug 2005
Posts: 211
03-21-2007 14:10
No, the function can only be used to make one LINK call at a time.

Either to a specific link number, or to the pre-defined constants for LINK_ROOT, LINK_SET, LINK_ALL_OTHERS, LINK_ALL_CHILDREN, LINK_THIS.
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
03-21-2007 16:24
Is this function available on the main grid or just on the test grid?

I haven't heard any indication of it being released on the main grid...?
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
03-21-2007 16:39
From: Thraxis Epsilon
No, the function can only be used to make one LINK call at a time.

Either to a specific link number, or to the pre-defined constants for LINK_ROOT, LINK_SET, LINK_ALL_OTHERS, LINK_ALL_CHILDREN, LINK_THIS.



If its going to be limited to a single prim per call then its not actually going to be that much use compared with individual scripts in each prim and linked messages. The delay penalty will out weigh the processing advantage.
AJ DaSilva
woz ere
Join date: 15 Jun 2005
Posts: 1,993
03-21-2007 17:36
From: Newgate Ludd
If its going to be limited to a single prim per call then its not actually going to be that much use compared with individual scripts in each prim and linked messages. The delay penalty will out weigh the processing advantage.

True, true. :rolleyes:
Thraxis Epsilon
Registered User
Join date: 31 Aug 2005
Posts: 211
03-21-2007 18:18
Yes it is up on the main grid, not sure if you have to have a first look client for it to work for the compiling.

You can make the call to a complete LinkSet, all but the root link, etc. Otherwise it works the same as the other llSetLink commands.

The one issue is that it has a .2 second delay and many other llSetLink commands do not.
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
03-21-2007 18:44
It may be available in the live simulators right now, but since the script compiler is in the client, you can't actually compile a script using the functions until the live viewer gets an update.