Linkset Target
Inspect and update linked objects and their constituent prims.
Feature: Linksets
What do you want to do?
list llGetLinkPrimitiveParams(integer link, list params)Returns a list of primitive parameters requested in params for the linked prim specified by link (equivalent to llGetPrimitiveParams).llSetLinkPrimitiveParamsFast(integer link, list rules)Sets primitive parameters for the linked prim link according to rules with no built-in script sleep delay.key llGetLinkKey(integer link)Returns the key (UUID) of the linked prim or avatar specified by link.Reference
50 topic entries
key llAvatarOnLinkSitTarget(integer link)functionReturns the UUID of the avatar seated on the specified link's sit target, or
NULL_KEYif no avatar is sitting there.llBreakAllLinks()functionDelinks all prims in the linkset. Requires the
PERMISSION_CHANGE_LINKSruntime permission, which must be requested and granted by the owner.llBreakLink(integer link)functionDelinks the prim specified by the link number link. Requires the
PERMISSION_CHANGE_LINKSruntime permission.integer llClearLinkMedia(integer link, integer face)functionDeletes the media and clears all parameters from the given face on the linked prim. Returns an integer STATUS_* flag detailing the success or failure of the operation.
llCreateLink(key target, integer parent)functionAttempts to link the object containing the script with target. Requires the
PERMISSION_CHANGE_LINKSruntime permission.key llGetLinkKey(integer link)functionReturns the key (UUID) of the linked prim or avatar specified by link.
list llGetLinkMedia(integer link, integer face, list params)functionReturns a list containing the media parameters of the specified face on the linked prim link, retrieved in the order requested by params.
string llGetLinkName(integer link)functionReturns a string containing the name of the linked prim specified by link.
integer llGetLinkNumberOfSides(integer link)functionReturns an integer representing the number of sides (faces) of the linked prim specified by link.
list llGetLinkPrimitiveParams(integer link, list params)functionReturns a list of primitive parameters requested in params for the linked prim specified by link (equivalent to
llGetPrimitiveParams).integer llGetLinkSitFlags(integer link)functionReturns an integer representing the active sit flags currently set on the linked prim specified by link.
float llGetMass()functionReturns a float representing the mass of the object (in lindograms). Returns the total linkset mass if called from the root, or the individual prim's mass if called from a child prim. Returns the wearer's mass if inside an attachment.
float llGetMassMKS()functionReturns a float representing the mass of the object in kilograms. Functionally identical to
llGetMassexcept for using MKS (metric) units.float llGetMaxScaleFactor()functionReturns a float representing the maximum scale factor that can be applied to the object via
llScaleByFactorwithout violating size or linkability limits.float llGetMinScaleFactor()functionReturns a float representing the minimum scale factor that can be applied to the object via
llScaleByFactorwithout violating size limits.integer llGetNumberOfPrims()functionReturns an integer representing the total number of prims and seated avatars in the linkset containing the script.
integer llGetObjectPermMask(integer group)functionReturns the script's object's permission flags for the specified group.
key llGetOwner()functionReturns the key (UUID) of the object's current owner.
vector llGetRootPosition()functionReturns a vector representing the position (in region coordinates) of the root prim of the linkset containing the script.
rotation llGetRootRotation()functionReturns a rotation representing the orientation (relative to the region) of the root prim of the linkset containing the script.
integer llGetStatus(integer status)functionReturns a boolean integer indicating whether the specified status flag status is enabled for the object.
integer llIsLinkGLTFMaterial(integer link, integer face)functionChecks the specified face on the linked prim link. Returns
TRUEif the face material is a PBR render material, orFALSEif it uses Blinn-Phong diffuse textures.llLinkSitTarget(integer link, vector offset, rotation rot)functionSets the sit target position (offset) and orientation (rot) for the linked prim link, relative to the prim's own position and rotation. Clear by setting offset to <0.0, 0.0, 0.0>.
integer llLinksetDataAvailable()functionReturns an integer representing the number of bytes available/remaining in the linkset's datastore.
integer llLinksetDataCountFound(string pattern)functionReturns the total count of keys in the linkset datastore that match the regular expression pattern.
integer llLinksetDataCountKeys()functionReturns an integer representing the total number of unique keys stored in the linkset's datastore.
integer llLinksetDataDelete(string name)functionDeletes the unprotected key-value pair specified by name from the linkset's datastore, triggering a
linkset_dataevent.list llLinksetDataDeleteFound(string pattern, string pass)functionDeletes all keys in the datastore matching the regular expression pattern. Returns a list [num_deleted, num_failed_protected]. Decrypts and deletes protected keys if matching pass is provided.
integer llLinksetDataDeleteProtected(string name, string pass)functionDeletes the protected key-value pair specified by name from the linkset's datastore using the passphrase pass, triggering a
linkset_dataevent.list llLinksetDataFindKeys(string pattern, integer start, integer count)functionReturns an alphabetically sorted list of up to count keys from the datastore that match the regular expression pattern, starting at index start (returns all matching keys if count < 1).
list llLinksetDataListKeys(integer start, integer count)functionReturns an alphabetically sorted list of up to count keys from the datastore, starting at index start (returns all keys if count < 1).
string llLinksetDataRead(string name)functionReads and returns the string value corresponding to key name from the linkset's datastore.
string llLinksetDataReadProtected(string name, string pass)functionReads and returns the string value of the protected key name from the linkset's datastore using the passphrase pass.
llLinksetDataReset()functionErases all key-value pairs stored in the linkset's datastore, triggering a
linkset_dataevent (withLINKSETDATA_RESET) in all scripts in the linkset.integer llLinksetDataWrite(string name, string value)functionCreates or updates an unprotected key-value pair (name and value) in the linkset's datastore. Returns an integer success or failure code.
integer llLinksetDataWriteProtected(string name, string value, string pass)functionCreates or updates a protected key-value pair (name and value) in the linkset's datastore using the passphrase pass. Returns an integer success or failure code.
integer llScaleByFactor(float scaling_factor)functionAttempts to uniformly resize the entire object by scaling_factor, maintaining size-position ratios of the prims. Fails if the linkset is physical, a pathfinding character, in keyframed motion, would exceed prim scale/linkability limits, or would overflow parcel capacity.
llSetLinkAlpha(integer link, float alpha, integer face)functionSets the Blinn-Phong alpha (transparency) of face on the linked prim link.
llSetLinkColor(integer link, vector color, integer face)functionSets the Blinn-Phong diffuse RGB color of face on the linked prim link.
llSetLinkGLTFOverrides(integer link, integer face, list params)functionSets or removes individual GLTF override parameters specified by params on face of the linked prim link.
integer llSetLinkMedia(integer link, integer face, list params)functionSets the media parameters specified by params on face of the linked prim link without a script delay. Returns an integer STATUS_* flag detailing success or failure.
llSetLinkPrimitiveParamsFast(integer link, list rules)functionSets primitive parameters for the linked prim link according to rules with no built-in script sleep delay.
llSetLinkRenderMaterial(integer link, string material, integer face)functionApplies material (UUID or inventory name) to face of the linked prim link. Note: This clears most PRIM_GLTF_* properties on the face except for repeats, offsets, and rotation.
llSetLinkSitFlags(integer link, integer flags)functionSets the sit target flags for the linked prim link inside the linkset.
llSetLinkTexture(integer link, string texture, integer face)functionApplies texture (UUID or inventory name) to face of the linked prim link.
llSetLinkTextureAnim(integer link, integer mode, integer face, integer sizex, integer sizey, float start, float length, float rate)functionAnimates the texture on face of the linked prim link by setting the scale and offset according to mode. Parameters sizex/sizey define frames, start defines the start frame/angle, length defines duration, and rate defines playback speed.
llSetObjectPermMask(integer group, integer flags)functionSets the scripts's object's permission flags for the specified group.
llSetStatus(integer status, integer value)functionSets the object status attributes specified by status to value.
changed(integer changes)eventTriggered when various properties of the object change. The parameter changes is a bitfield of CHANGED_* flags.
linkset_data(integer action, string name, string value)eventFires in all scripts in the linkset whenever the datastore has been modified via an llLinksetData function. Passes the action taken, the affected key name, and the new value.
No matching entries. Try a different term or filter.