Difference between revisions of "Primset"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "The primset script allows arbitrary lists to be passed to llSetLinkPrimitiveParams, llGetLinkPrimitiveParams and llLinkParticleSystem via a chat channel. The default channel is …")
 
Line 7: Line 7:


?    Perform llGetLinkPrimitiveParams with the following argument list on the selected prims.
?    Perform llGetLinkPrimitiveParams with the following argument list on the selected prims.
%    Perorm llLinkParticleSystem with the following argument list on the selected prims.
%    Perorm llLinkParticleSystem with the following argument list on the selected prims.
$    resize entire linkset.  list-of-params should be a scalar or vector.  If a vector is used with x!=y!=z and all prims are not aligned the same way, it may not do what you want.
$    resize entire linkset.  list-of-params should be a scalar or vector.  If a vector is used with x!=y!=z and all prims are not aligned the same way, it may not do what you want.
none    Perform llSetLinkPrimitiveParamsFast with the following argument list on the selected prims
none    Perform llSetLinkPrimitiveParamsFast with the following argument list on the selected prims



Revision as of 02:09, 11 September 2011

The primset script allows arbitrary lists to be passed to llSetLinkPrimitiveParams, llGetLinkPrimitiveParams and llLinkParticleSystem via a chat channel. The default channel is 884. The script does not listen until it receives a mouse click. The listen will be cancelled after 5 minutes of inactivity or upon receiving an empty chat message.

The message format is: [optional-list-of-prims]optional-prefix-character list-of-params

Prefix: Action:

? Perform llGetLinkPrimitiveParams with the following argument list on the selected prims.

% Perorm llLinkParticleSystem with the following argument list on the selected prims.

$ resize entire linkset. list-of-params should be a scalar or vector. If a vector is used with x!=y!=z and all prims are not aligned the same way, it may not do what you want.

none Perform llSetLinkPrimitiveParamsFast with the following argument list on the selected prims

optional-list-of-prims is a comma-separated list of prim names, prim descriptions, and/or prim child id numbers. If specified, this becomes the new subset that this and following commands will target. The selection status of any prim can also be toggled by clicking it with the mouse, once the linkset has been selected.

The initial selection is LINK_SET for Set and LINK_ROOT for Get.