Table of Contents

About

A general problem with attached objects and scan events is that attached objects cannot be detected. In this case, in order to accomplish a set of realistic-looking martingale for a horse with particles such as the ones depicted in the image below:

Horse Avatar Abstract Model

one would have to synchronize four primitives like in the abstract model above. This was a project created for ρίđαℓgσ in Second Life.

This would had been easy: create two scripts and use llParticleSystem on both ends by grabbing the key of the other primitive. However, the particular problem of attached objects is that their keys change once the avatar relogs.

In order to overcome that problem, the application uses LID™ technology in order to detect the log-in and restart the scripts so that each set of scripts can acquire the key and start emitting the particles. For the scripts to function correctly, two each "box" has to be composed of two primitives (because object descriptions cannot be stored on root primitives over relogs) - yet this is satisfied by the fact that the horse avatar ρίđαℓgσ will attach the boxes to the rest of the avatar body.

In order to make a set of these, the private communication channels are padded by a constant. The scripts use the simplified alternative of the private channel hash and then just pad the communication channels by 1 in order to have two martingales.

Setup

To use these scripts, drop them inside two primitives (the primitives can be attached) and the script will leash them together automatically. The script also takes care to re-leash the objects in case the objects are attached and the wearer disconnects.

Index