Linden Lab finally adds a useful function!

There is now a new function: llSetLinkPrimitiveParamsFast, that allows for instant changes to link sets.

From the wiki:

Function: llSetLinkPrimitiveParamsFast( integer linknumber, list rules );

Set primitive parameters for linknumber based on rules with no built-in script sleep.

This function is identical to llSetLinkPrimitiveParams except without the delay.

Source: LSL Coding Wiki Page

What this means is that we can increase the speed of a lot of things we have been working around. A prime example of this is the changing of weapon prims from transparent to visible. We currently use a set of “helper” scripts to divide this work up into smaller batches to bypass the delay. The new function could allow us to remove all of those helper scripts, helping with script lag, and allow for quicker drawing and sheathing. I will admit I have not done any testing with this function yet to determine just how fast it is, but if it works well, it might lead to some new battojutsu weapons.

EDIT: Modified this post a little, due to the title being too long to fit in side bar 😀

Leave a Reply