Linkset Target
Inspect and update linked objects and their constituent prims.
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
Badges
Kind
key llAvatarOnLinkSitTarget(integer link)Returns the UUID of the avatar seated on the specified link's sit target, orNULL_KEYif no avatar is sitting there.functionllBreakAllLinks()Delinks all prims in the linkset. Requires thePERMISSION_CHANGE_LINKSruntime permission, which must be requested and granted by the owner.functionP (Requires PERMISSION_CHANGE_LINKS)llBreakLink(integer link)Delinks the prim specified by the link number link. Requires thePERMISSION_CHANGE_LINKSruntime permission.functionP (Requires PERMISSION_CHANGE_LINKS)integer llClearLinkMedia(integer link, integer face)Deletes 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.functionllCreateLink(key target, integer parent)Attempts to link the object containing the script with target. Requires thePERMISSION_CHANGE_LINKSruntime permission.functionS (Sleeps 0.1s)P (Requires PERMISSION_CHANGE_LINKS)key llGetLinkKey(integer link)Returns the key (UUID) of the linked prim or avatar specified by link.functionlist llGetLinkMedia(integer link, integer face, list params)Returns a list containing the media parameters of the specified face on the linked prim link, retrieved in the order requested by params.functionstring llGetLinkName(integer link)Returns a string containing the name of the linked prim specified by link.functioninteger llGetLinkNumberOfSides(integer link)Returns an integer representing the number of sides (faces) of the linked prim specified by link.functionlist llGetLinkPrimitiveParams(integer link, list params)Returns a list of primitive parameters requested in params for the linked prim specified by link (equivalent tollGetPrimitiveParams).functioninteger llGetLinkSitFlags(integer link)Returns an integer representing the active sit flags currently set on the linked prim specified by link.functionfloat llGetMass()Returns 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.functionfloat llGetMassMKS()Returns a float representing the mass of the object in kilograms. Functionally identical tollGetMassexcept for using MKS (metric) units.functionfloat llGetMaxScaleFactor()Returns a float representing the maximum scale factor that can be applied to the object viallScaleByFactorwithout violating size or linkability limits.functionfloat llGetMinScaleFactor()Returns a float representing the minimum scale factor that can be applied to the object viallScaleByFactorwithout violating size limits.functioninteger llGetNumberOfPrims()Returns an integer representing the total number of prims and seated avatars in the linkset containing the script.functioninteger llGetObjectPermMask(integer group)Returns the script's object's permission flags for the specified group.functionkey llGetOwner()Returns the key (UUID) of the object's current owner.functionvector llGetRootPosition()Returns a vector representing the position (in region coordinates) of the root prim of the linkset containing the script.functionrotation llGetRootRotation()Returns a rotation representing the orientation (relative to the region) of the root prim of the linkset containing the script.functioninteger llGetStatus(integer status)Returns a boolean integer indicating whether the specified status flag status is enabled for the object.functioninteger llIsLinkGLTFMaterial(integer link, integer face)Checks the specified face on the linked prim link. ReturnsTRUEif the face material is a PBR render material, orFALSEif it uses Blinn-Phong diffuse textures.functionllLinkSitTarget(integer link, vector offset, rotation rot)Sets 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>.functioninteger llLinksetDataAvailable()Returns an integer representing the number of bytes available/remaining in the linkset's datastore.functioninteger llLinksetDataCountFound(string pattern)Returns the total count of keys in the linkset datastore that match the regular expression pattern.functioninteger llLinksetDataCountKeys()Returns an integer representing the total number of unique keys stored in the linkset's datastore.functioninteger llLinksetDataDelete(string name)Deletes the unprotected key-value pair specified by name from the linkset's datastore, triggering alinkset_dataevent.functionlist llLinksetDataDeleteFound(string pattern, string pass)Deletes 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.functioninteger llLinksetDataDeleteProtected(string name, string pass)Deletes the protected key-value pair specified by name from the linkset's datastore using the passphrase pass, triggering alinkset_dataevent.functionlist llLinksetDataFindKeys(string pattern, integer start, integer count)Returns 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).functionlist llLinksetDataListKeys(integer start, integer count)Returns an alphabetically sorted list of up to count keys from the datastore, starting at index start (returns all keys if count < 1).functionstring llLinksetDataRead(string name)Reads and returns the string value corresponding to key name from the linkset's datastore.functionstring llLinksetDataReadProtected(string name, string pass)Reads and returns the string value of the protected key name from the linkset's datastore using the passphrase pass.functionllLinksetDataReset()Erases all key-value pairs stored in the linkset's datastore, triggering alinkset_dataevent (withLINKSETDATA_RESET) in all scripts in the linkset.functioninteger llLinksetDataWrite(string name, string value)Creates or updates an unprotected key-value pair (name and value) in the linkset's datastore. Returns an integer success or failure code.functioninteger llLinksetDataWriteProtected(string name, string value, string pass)Creates 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.functioninteger llScaleByFactor(float scaling_factor)Attempts 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.functionllSetLinkAlpha(integer link, float alpha, integer face)Sets the Blinn-Phong alpha (transparency) of face on the linked prim link.functionllSetLinkColor(integer link, vector color, integer face)Sets the Blinn-Phong diffuse RGB color of face on the linked prim link.functionllSetLinkGLTFOverrides(integer link, integer face, list params)Sets or removes individual GLTF override parameters specified by params on face of the linked prim link.functioninteger llSetLinkMedia(integer link, integer face, list params)Sets 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.functionllSetLinkPrimitiveParamsFast(integer link, list rules)Sets primitive parameters for the linked prim link according to rules with no built-in script sleep delay.functionllSetLinkRenderMaterial(integer link, string material, integer face)Applies 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.functionS (Sleeps 0.2s)llSetLinkSitFlags(integer link, integer flags)Sets the sit target flags for the linked prim link inside the linkset.functionllSetLinkTexture(integer link, string texture, integer face)Applies texture (UUID or inventory name) to face of the linked prim link.functionS (Sleeps 0.2s)llSetLinkTextureAnim(integer link, integer mode, integer face, integer sizex, integer sizey, float start, float length, float rate)Animates 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.functionllSetObjectPermMask(integer group, integer flags)Sets the scripts's object's permission flags for the specified group.functionG (Requires god mode)llSetStatus(integer status, integer value)Sets the object status attributes specified by status to value.functionchanged(integer changes)Triggered when various properties of the object change. The parameter changes is a bitfield of CHANGED_* flags.eventlinkset_data(integer action, string name, string value)Fires 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.event
No matching entries. Try a different term or filter.