Demonstration object for the llSetLinkPrimitiveParamsFast(). function. This function allows controlling multiple prims in a linked object. This has 1 very simple script. The script is in the base and controls the brightness of the 5 linked balls. Touch the base to start the script to sequentially flash the bulbs. This effect and more can also be done with llMessageLinked(), However the big difference is that llMessageLinked(), since it is a program, can also light any of the bulbs individually if you click on them while the bulbs are sequencing. llSetLinkPrimitiveParamsFast() can not do this.
This is better than other examples because it shows how to address prims based on their object names rather than the random numbers assigned to each prim when they are linked. Using this programming method prims can be linked and unlinked in any order and the code will always address the correct prim. This technique is very helpful when objects get very large and complex with multiple linked prims.
You should get a copy of both llMessageLinked() and llSetLinkPrimitiveParamsFast() demonstration items so you can compare. They both have advantages depending on the complexity of what you plan to do. In short, the simplest is llSetLinkPrimitiveParamsFast(). Use to control prims directly. llMessageLinked() is more complex and used to control programs in each prim or multiple programs in the same prim.
- Touch the base to sequentially flashes 5 lights
The marketplace makes it hard to give feedback: however - 5 stars for your fullperm open source contribution !
Please upvote our feedback also here:
https://feedback.secondlife.com/web-features/p/improve-marketplace-review-rating-make-it-like-ebay
Join the secondlife developer group here:
https://world.secondlife.com/group/d681285b-20a0-0e3d-28a7-f52bc3748604
Great Demo!
I was really impressed at you demo and was thinking how cool this could be for marque lighting.
Thank you for your demo