📜 VORTEX LSL STUDIO PRO
The definitive open repository, community Pastebin, and visual script builder for the Second Life Linden Scripting Language (LSL). Browse hundreds of verified scripts, share your own code securely in the LSL Community Pastebin, explore the Complete 450+ Function SL Wiki Encyclopedia, and sync daily with the Second Life Official Wiki. Created & Managed by Aley Vortex.
AI Rotating Door Test
Test Description
test
just a test
test
just a test
testing
just a test
test
just a test
test
just a test
testing LSL
just a test
Smooth Rotating Touch Door with Auto-Close & Sound
Smooth 90-degree rotating door script using local rotation. Includes automatic close timer, owner toggle lock,...
Double Sliding Automatic Sensor Glass Door
Automated double-sliding sliding glass door using prim link message coordinate sliding. Opens automatically up...
Multi-Floor Smooth Keyframed Elevator Engine
Multi-floor elevator car using llSetKeyframedMotion for lagless physics-free vertical transit with call button...
Single Mesh Sliding Panel Door with Sound
Compact sliding door script with smooth offset coordinate translation, touch toggle, and automated closing.
Hidden Secret Bookcase Rotating Door
Secret passage disguised as a bookshelf. Unlocks only when touching a specific hidden book prim or entering a...
High-Performance Physics Sports Car Engine
Complete physical vehicle engine with linear & angular deflection, dynamic steering response, driver camera in...
Futuristic Sci-Fi Hovercraft & Flight Physics
Antigravity hovercraft physics with altitude hover banking, vertical strafe controls (E / C keys), and thruste...
Physical Water Speedboat & Wave Buoyancy
Watercraft motor engine with banking turn dynamics, spray particle triggers, and surface water level stabiliza...
Hot Air Balloon Buoyancy & Altitude Throttle
Smooth atmospheric balloon with buoyancy lift adjustments (PageUp / PageDown) and gentle wind drift simulation...
High-Precision Raycast Sniper & Target Damage
Instant-hit Raycast weapon utilizing llCastRay with bullet tracer particles, headshot damage calculation, and...
Melee Katana with Swing Combos & Collision Sounds
Melee sword with 3-hit combo animation triggers, swoosh sounds, and volume-detect hit registration.
Energy Deflector Shield with Visual Pulse Barrier
Wearable avatar energy shield that detects incoming physical projectiles and repels them with reverse impulse...
Timed Fragmentation Grenade & Radial Physics Push
Throw grenade with 3-second fuse, rolling physics collision sound, particle shockwave, and radial push to near...
Universal Multi-Tab HUD Controller with Prim Minimap
Modular multi-tab HUD framework with link messages, tab state switching, collapsible drawer, and health/stamin...
Avatar Proximity Radar HUD with Distance Sort
HUD scanner that lists nearest avatars sorted by distance in real-time on hovertext or HUD text prim.
Multi-Page Dynamic Dialog Menu Engine
Robust pagination dialog system supporting >12 items with Next/Prev navigation buttons and auto-closing timeou...
Parcel Security Orb with Eject, Teleport Home & Whitelist
Full parcel security station with intruder warning countdown, automatic eject / teleport home, and owner white...
Automated Daily Visitor Logger & Range Radar
Scans avatars entering a region or club, tracks visit duration, ignores owner/staff, and dumps logs via chat c...
Cross-Sim Height WarpPos Fast Instant Teleporter
Instantaneous prim teleportation jump across hundreds of vertical metres without physical delay using WarpPos...
Split Payout Tip Jar with Particle Glow & Goal Tracker
Club and performer tip jar with split percentage payout to manager, floating goal bar, thank-you instant messa...
Folder Inventory Giver with Group Security Check
Dispenses all items in prim inventory as a neatly packaged folder into the avatar inventory upon touch.
Multi-Pose Sit Engine with Menu Selector
Multi-pose chair script that reads animations from prim inventory and provides an interactive sit dialog menu.
glTF PBR Texture Swapper & Face Material Switcher
Real-time PBR material changer using modern Second Life glTF PBR primitive parameters with smooth face cycling...
OpenCollar Standard RLV Relay Engine
RestrainedLove (RLV) listener relay with command validation, ping responses, and secure object authorization.
Seamless Preloading Multi-Clip Music Stream Player
Preloads sequential 10-second audio clips into cache to guarantee 100% gapless continuous in-world music playb...
Dynamic Ambient Weather Particle Generator (Rain & Snow)
Complete weather system simulating heavy rainstorm or soft blizzard snowfall with synchronized audio looping.
Sim Performance, Time Dilation & Memory Profiler
Real-time region diagnostics monitor reporting Region FPS, Time Dilation, Script Memory, and Physics FPS via h...
Universal Linkset Prim Resizer with Memory Cache
Recursively scales an entire complex linked object up or down by percentage while preserving local position of...
Discord Webhook Relay Sender
Sends structured JSON messages to a Discord webhook channel from Second Life.
Inbound HTTP Server Prim with Auth Token Listener
Receives real-time HTTP POST requests from external web servers or APIs and processes commands in-world with a...
Vortex Terminal & Secure Web Authentication Matrix
Interactive in-world terminal object that registers new residents into the Vortex Game SL database and deliver...
Vortex Smart Tipjar & Web Database Supporter Matrix
Official Aley Vortex Smart Tip Jar with public vs anonymous donation dialogue choice, real-time web database c...
AI Rotating Door Test
Test Description
### 🚪 Vortex LSL Script // Smooth Rotating Group Door
Here is an optimized, lag-free single-prim or root-prim rotating door script. It uses `llSetLocalRot` for smooth relative rotation, supports group-only access (or public toggle), and features auto-closing timers with sound triggers.
```lsl
// =========================================================================
// VORTEX CORP NEURAL LSL ENGINE // SMOOTH ROTATING DOOR (GROUP / PUBLIC)
// Author: Vortex Corp AI Engine (UK & Global Clusters)
// Supervisor: Aley Vortex (CEO)
// =========================================================================
float ROTATION_ANGLE_DEG = 90.0; // Degrees to swing open
float AUTO_CLOSE_TIME = 6.0; // Auto-close delay in seconds
integer GROUP_ONLY_ACCESS = TRUE; // TRUE = group members only, FALSE = public
string SOUND_OPEN = "cb8225e5-3974-98fb-41a3-23a5712e0618"; // Open sound UUID
string SOUND_CLOSE = "e09520fb-650a-f01e-3cb0-df2ab850d513"; // Close sound UUID
// Internal State Variables
integer gIsOpen = FALSE;
rotation gRotClosed;
rotation gRotOpen;
openDoor()
{
gIsOpen = TRUE;
llSetLocalRot(gRotOpen);
if (SOUND_OPEN != "") llPlaySound(SOUND_OPEN, 0.7);
llSetTimerEvent(AUTO_CLOSE_TIME);
}
closeDoor()
{
gIsOpen = FALSE;
llSetTimerEvent(0.0);
llSetLocalRot(gRotClosed);
if (SOUND_CLOSE != "") llPlaySound(SOUND_CLOSE, 0.6);
}
default
{
state_entry()
{
gRotClosed = llGetLocalRot();
// Calculate the target open rotation around local Z axis
rotation rotSwing = llEuler2Rot(<0.0, 0.0, ROTATION_ANGLE_DEG * DEG_TO_RAD>);
gRotOpen = rotSwing * gRotClosed;
gIsOpen = FALSE;
}
touch_start(integer total_number)
{
key toucher = llDetectedKey(0);
// Security Validation
if (GROUP_ONLY_ACCESS && !llSameGroup(toucher))
{
llRegionSayTo(toucher, 0, "[VORTEX SECURITY] Access Denied: Group credentials required.");
return;
}
if (!gIsOpen)
{
openDoor();
}
else
{
closeDoor();
}
}
timer()
{
closeDoor();
}
}
```
#### 💡 Performance & Building Tips:
- **Hinge Placement:** Ensure the door mesh or prim has its origin/pivot at the hinge edge (using path-cut `0.125` to `0.625` on a box or setting the pivot in Blender before Collada .DAE export).
- **Linkset Efficiency:** If part of a linkset, `llSetLocalRot` only moves this child prim without stalling the rest of the build.
📖 Second Life Official LSL Functions & Events Encyclopedia
Complete offline-resilient reference clone of all 450+ Linden Lab functions and 35+ engine events with instant search, syntax signatures, and 1-click clipboard export.
⚡ Linden Scripting Language Functions (112)
llAbs
Mathinteger llAbs(integer val)
Returns the positive absolute value of an integer.
llAcos
Mathfloat llAcos(float val)
Returns the arccosine in radians of val (val between -1.0 and 1.0).
llAddToLandBanList
ParcelllAddToLandBanList(key avatar, float hours)
Adds an avatar to the parcel ban list for a designated duration in hours.
llAddToLandPassList
ParcelllAddToLandPassList(key avatar, float hours)
Adds an avatar to the land access pass list.
llAdjustSoundVolume
SoundllAdjustSoundVolume(float volume)
Adjusts the volume of currently playing looped audio (0.0 to 1.0).
llAllowInventoryDrop
InventoryllAllowInventoryDrop(integer add)
Allows non-owners to drop inventory items into the prim when holding Ctrl.
llAngleBetween
Math & Rotationsfloat llAngleBetween(rotation a, rotation b)
Returns the angle in radians between rotations a and b.
llAtan2
Mathfloat llAtan2(float y, float x)
Returns the arctangent of y/x in radians between -PI and PI.
llAttachToAvatar
AttachmentsllAttachToAvatar(integer attach_point)
Attaches the object to avatar at attachment point if permissions granted.
llAttachToAvatarTemp
AttachmentsllAttachToAvatarTemp(integer attach_point)
Attaches temporary non-inventory object to avatar that deletes on drop.
llAvatarOnLinkSitTarget
Avatars & Sittingkey llAvatarOnLinkSitTarget(integer link)
Returns the UUID of the avatar sitting on the specified link prim sit target.
llAvatarOnSitTarget
Avatars & Sittingkey llAvatarOnSitTarget()
Returns the UUID of the avatar seated on the root prim sit target.
llAxes2Rot
Math & Rotationsrotation llAxes2Rot(vector fwd, vector left, vector up)
Calculates rotation from forward, left, and up vector axes.
llBase64ToInteger
Strings & Encodinginteger llBase64ToInteger(string str)
Decodes an integer from a BigEndian Base64 string.
llBase64ToString
Strings & Encodingstring llBase64ToString(string str)
Converts a Base64 encoded string into a plain UTF-8 string.
llCastRay
Combat & Physicslist llCastRay(vector start, vector end, list options)
Fires a ray between start and end vectors, returning hit intersections, targets, normals, and surface coordinates.
llCeil
Mathinteger llCeil(float val)
Returns the smallest integer value greater than or equal to val.
llClearCameraParams
Camera ControlsllClearCameraParams()
Resets all scripted camera parameters back to avatar default.
llCollisionFilter
Collisions & CombatllCollisionFilter(string name, key id, integer accept)
Filters collision events to only trigger for specific object names or keys.
llCreateCharacter
PathfindingllCreateCharacter(list options)
Converts a physical or non-physical object into an autonomous pathfinding character.
llDeleteSubList
Listslist llDeleteSubList(list src, integer start, integer end)
Deletes entries between start and end indices from source list.
llDeleteSubString
Stringsstring llDeleteSubString(string src, integer start, integer end)
Deletes characters from start to end index in string.
llDialog
Dialogs & MenusllDialog(key avatar, string message, list buttons, integer channel)
Presents an interactive popup dialog with up to 12 buttons on a specific chat channel.
llDie
Object ManagementllDie()
Instantly deletes the object and purges it from the in-world sim.
llDumpList2String
Lists & Stringsstring llDumpList2String(list src, string separator)
Joins list elements into a string delimited by the specified separator.
llEdgeOfWorld
World & Siminteger llEdgeOfWorld(vector pos, vector dir)
Checks if a vector position and direction cross over a region simulator boundary.
llEjectFromLand
Security & ParcelllEjectFromLand(key avatar)
Ejects an avatar off the parcel and unseats them immediately.
llEscapeURL
HTTP & Webstring llEscapeURL(string url)
Encodes a URL string using standard RFC 2396 percent-encoding.
llEuler2Rot
Math & Rotationsrotation llEuler2Rot(vector vec)
Converts Euler angles in radians into an LSL rotation quaternion.
llExecCharacterCmd
PathfindingllExecCharacterCmd(integer command, list options)
Executes pathfinding character commands like stopping or wandering.
llFabs
Mathfloat llFabs(float val)
Returns the positive absolute floating-point value.
llFloor
Mathinteger llFloor(float val)
Returns the largest integer less than or equal to val.
llGetAgentInfo
Avatars & Agentsinteger llGetAgentInfo(key id)
Returns bitwise flags for avatar states (AGENT_FLYING, AGENT_TYPING, AGENT_SITTING, AGENT_MOUSELOOK).
llGetAgentSize
Avatars & Agentsvector llGetAgentSize(key id)
Returns the bounding box dimensions of an avatar.
llGetAnimation
Animationsstring llGetAnimation(key id)
Returns the name of the currently playing base animation on the avatar.
llGetCameraPos
Camera Controlsvector llGetCameraPos()
Returns the current position vector of the camera.
llGetCameraRot
Camera Controlsrotation llGetCameraRot()
Returns the current orientation rotation of the camera.
llGetFreeMemory
Memory & Profilinginteger llGetFreeMemory()
Returns available free memory in bytes remaining for the script.
llGetInventoryName
Inventorystring llGetInventoryName(integer type, integer index)
Returns the name of the inventory item at the given index and type.
llGetInventoryNumber
Inventoryinteger llGetInventoryNumber(integer type)
Returns the total count of inventory items matching the given type.
llGetKey
Object Managementkey llGetKey()
Returns the UUID key of the object running the script.
llGetLinkKey
Linksetskey llGetLinkKey(integer link)
Returns the UUID key of a child or root prim in the linkset.
llGetLinkName
Linksetsstring llGetLinkName(integer link)
Returns the name string of the specified link number.
llGetLinkPrimitiveParams
Linksets & Primslist llGetLinkPrimitiveParams(integer link, list params)
Retrieves parameters from child prims in the linkset.
llGetListLength
Listsinteger llGetListLength(list src)
Returns the number of elements in a list.
llGetLocalPos
Prims & Coordinatesvector llGetLocalPos()
Returns the position of the prim relative to its linkset root.
llGetLocalRot
Prims & Coordinatesrotation llGetLocalRot()
Returns the rotation of the prim relative to its linkset root.
llGetNumberOfPrims
Linksetsinteger llGetNumberOfPrims()
Returns the total prim count in the object linkset.
llGetOwner
Object Managementkey llGetOwner()
Returns the avatar UUID of the object owner.
llGetPos
Prims & Coordinatesvector llGetPos()
Returns the region coordinate position of the root object.
llGetRegionFPS
Sim Diagnosticsfloat llGetRegionFPS()
Returns the current frame rate per second of the region simulator.
llGetRegionTimeDilation
Sim Diagnosticsfloat llGetRegionTimeDilation()
Returns region physics time dilation (1.0 = optimal full speed).
llGetRot
Prims & Coordinatesrotation llGetRot()
Returns the global rotation quaternion of the root object.
llGetScale
Prims & Coordinatesvector llGetScale()
Returns the 3D dimensions (X, Y, Z) scale of the prim.
llGetTimeOfDay
Environment & Timefloat llGetTimeOfDay()
Returns seconds since Second Life midnight (0.0 to 14400.0).
llGetUsedMemory
Memory & Profilinginteger llGetUsedMemory()
Returns exact bytes of memory currently consumed by the script.
llGiveInventory
InventoryllGiveInventory(key destination, string item)
Gives an inventory item directly to an avatar or object.
llGiveInventoryList
InventoryllGiveInventoryList(key destination, string folder, list items)
Gives multiple items packaged inside a named folder into avatar inventory.
llGiveMoney
Money & Debitinteger llGiveMoney(key destination, integer amount)
Transfers L$ directly from the owner balance to the destination key.
llHTTPRequest
HTTP & Webkey llHTTPRequest(string url, list params, string body)
Sends an asynchronous external HTTP/HTTPS request, triggering http_response.
llHTTPResponse
HTTP & WebllHTTPResponse(key id, integer status, string body)
Responds to an inbound HTTP request initiated via llRequestURL.
llInstantMessage
Chat & MessagingllInstantMessage(key user, string message)
Sends an instant message across regions or to offline avatars directly.
llJsonGetValue
JSON & APIsstring llJsonGetValue(string json, list specifiers)
Extracts a value, object, or array from a JSON string using path specifiers.
llJsonSetValue
JSON & APIsstring llJsonSetValue(string json, list specifiers, string value)
Inserts or updates a value in a JSON string.
llJson2List
JSON & APIslist llJson2List(string json)
Converts a JSON array or object string into a flat LSL list.
llKey2Name
Avatars & Objectsstring llKey2Name(key id)
Returns the legacy name of an avatar or object in the same region.
llLinkParticleSystem
ParticlesllLinkParticleSystem(integer link, list rules)
Controls the particle emitter for a specific child prim in the linkset.
llListen
Chat & Listenersinteger llListen(integer channel, string name, key id, string msg)
Opens a listener handle to receive in-world chat messages on the given channel.
llListenRemove
Chat & ListenersllListenRemove(integer handle)
Closes and purges an active chat listener handle to prevent lag.
llListFindList
Listsinteger llListFindList(list src, list target)
Searches for the target sublist in src, returning index of first match or -1.
llLoopSound
SoundllLoopSound(string sound, float volume)
Plays an audio clip continuously on a loop from the prim.
llMessageLinked
LinksetsllMessageLinked(integer link, integer num, string str, key id)
Sends a fast inter-script message across prims in the linkset.
llOwnerSay
Chat & DebugllOwnerSay(string msg)
Prints a private system message visible ONLY to the owner avatar.
llParseString2List
Strings & Listslist llParseString2List(string src, list separators, list spacers)
Splits a string into list items using specified separator tokens.
llParticleSystem
ParticlesllParticleSystem(list rules)
Creates, updates, or destroys the llParticleSystem particle emitter.
llPlaySound
SoundllPlaySound(string sound, float volume)
Plays a sound once at the given volume (0.0 to 1.0).
llPreloadSound
SoundllPreloadSound(string sound)
Preloads an audio asset into client viewer cache for gapless playback.
llPushObject
Physics & CombatllPushObject(key target, vector impulse, vector ang_impulse, integer local)
Applies a physical impulse force to push an avatar or physical prim.
llRegionSay
Chat & MessagingllRegionSay(integer channel, string msg)
Broadcasts a message across the ENTIRE sim region on the channel.
llRegionSayTo
Chat & MessagingllRegionSayTo(key target, integer channel, string msg)
Sends a direct targeted message to a specific avatar or prim in the sim.
llRequestPermissions
PermissionsllRequestPermissions(key avatar, integer perm)
Requests avatar permissions for controls, animations, debit, or camera.
llRequestURL
HTTP & Webkey llRequestURL()
Requests a temporary public HTTP inbound URL from the Second Life grid.
llResetScript
Script EnginellResetScript()
Resets the script back to default state_entry.
llRot2Fwd
Math & Rotationsvector llRot2Fwd(rotation rot)
Returns the forward pointing normal vector for a rotation quaternion.
llRotBetween
Math & Rotationsrotation llRotBetween(vector start, vector dest)
Calculates the rotation quaternion needed to rotate start into dest.
llSay
Chat & MessagingllSay(integer channel, string msg)
Says a chat message within a 20-metre radius.
llSensor
SensorsllSensor(string name, key id, integer type, float range, float arc)
Performs a single immediate sensor scan for avatars, active prims, or passive objects.
llSensorRepeat
SensorsllSensorRepeat(string name, key id, integer type, float range, float arc, float rate)
Sets up a recurring sensor scan at regular time intervals.
llSetKeyframedMotion
Keyframed MotionllSetKeyframedMotion(list keyframes, list options)
Smooth non-physical translation and rotation motion engine for elevators and vehicles.
llSetLinkPrimitiveParamsFast
Linksets & PrimsllSetLinkPrimitiveParamsFast(integer link, list params)
Instantly applies visual, coordinate, or material properties to prims with zero sleep delay.
llSetMemoryLimit
Memory & Profilinginteger llSetMemoryLimit(integer limit)
Sets maximum memory allocation (e.g. 65536 for Mono) to reduce sim memory usage.
llSetPayPrice
Money & VendorsllSetPayPrice(integer default_price, list quick_pay_buttons)
Sets the payment dialog popup buttons and default price for paying objects.
llSetPrimitiveParams
Prims & MaterialsllSetPrimitiveParams(list params)
Applies prim parameters including glTF PBR material properties, color, scale, and cut.
llSetSitText
Avatars & SittingllSetSitText(string text)
Customizes the pie menu sit action label (e.g. "Drive", "Pilot", "Teleport").
llSetText
Hovertext & UIllSetText(string text, vector color, float alpha)
Sets floating hovertext over the prim with customizable RGB and transparency.
llSetTimerEvent
TimersllSetTimerEvent(float sec)
Starts or stops the timer event handler at the specified repeat interval.
llSetVehicleType
Vehicles & PhysicsllSetVehicleType(integer type)
Sets vehicle type (VEHICLE_TYPE_CAR, VEHICLE_TYPE_AIRPLANE, VEHICLE_TYPE_BOAT, VEHICLE_TYPE_BALLOON).
llShout
Chat & MessagingllShout(integer channel, string msg)
Broadcasts in-world chat message across a 100-metre radius.
llSitTarget
Avatars & SittingllSitTarget(vector offset, rotation rot)
Sets the sit position and rotation offset relative to the prim.
llStartAnimation
AnimationsllStartAnimation(string anim)
Plays an animation on the avatar if PERMISSION_TRIGGER_ANIMATION is granted.
llStopAnimation
AnimationsllStopAnimation(string anim)
Stops a currently playing avatar animation.
llTakeControls
Controls & InputllTakeControls(integer controls, integer accept, integer pass_on)
Captures avatar keyboard controls (W, A, S, D, E, C, Mouselook, etc.).
llTeleportAgentHome
Security & LandllTeleportAgentHome(key avatar)
Teleports an avatar back to their home location if estate owner/manager.
llTriggerSound
SoundllTriggerSound(string sound, float volume)
Triggers an un-attached positional audio sound effect.
llUnSit
Avatars & SittingllUnSit(key avatar)
Forces an avatar to stand up from the sit target.
llVecDist
Math & Vectorsfloat llVecDist(vector v1, vector v2)
Calculates the distance in metres between two vector coordinates.
llVecNorm
Math & Vectorsvector llVecNorm(vector v)
Returns the normalized unit length vector of v.
llWhisper
Chat & MessagingllWhisper(integer channel, string msg)
Whispers a chat message within a 10-metre radius.
🎯 Second Life Engine Events (23)
state_entry
Engine Eventstate_entry()
Triggered automatically whenever a state is entered or when the script initializes.
Event Reference →state_exit
Engine Eventstate_exit()
Triggered immediately before exiting the current state.
Event Reference →touch_start
Engine Eventtouch_start(integer total_number)
Triggered on the first frame an avatar clicks/touches the object.
Event Reference →touch
Engine Eventtouch(integer total_number)
Triggered continuously while an avatar holds down their mouse button on the object.
Event Reference →touch_end
Engine Eventtouch_end(integer total_number)
Triggered when the avatar releases their mouse click from the object.
Event Reference →collision_start
Engine Eventcollision_start(integer total_number)
Triggered when a physical avatar or object begins colliding with the prim.
Event Reference →collision
Engine Eventcollision(integer total_number)
Triggered continuously while an object remains in contact during collision.
Event Reference →collision_end
Engine Eventcollision_end(integer total_number)
Triggered when collision contact ceases.
Event Reference →sensor
Engine Eventsensor(integer total_number)
Triggered when llSensor or llSensorRepeat detects matching avatars or objects.
Event Reference →no_sensor
Engine Eventno_sensor()
Triggered when a sensor scan finds zero matching targets within range.
Event Reference →listen
Engine Eventlisten(integer channel, string name, key id, string message)
Triggered when a chat message is received on an open listener channel.
Event Reference →timer
Engine Eventtimer()
Triggered at regular intervals set by llSetTimerEvent(float sec).
Event Reference →changed
Engine Eventchanged(integer change)
Triggered when object properties change (CHANGED_LINK, CHANGED_INVENTORY, CHANGED_OWNER, CHANGED_COLOR, CHANGED_SHAPE).
Event Reference →money
Engine Eventmoney(key giver, integer amount)
Triggered when an avatar pays Linden Dollars (L$) to the object.
Event Reference →run_time_permissions
Engine Eventrun_time_permissions(integer perm)
Triggered when an avatar grants or denies requested permissions.
Event Reference →attach
Engine Eventattach(key attached_avatar)
Triggered when an object is attached to or detached from an avatar.
Event Reference →control
Engine Eventcontrol(key id, integer level, integer edge)
Triggered when an avatar presses captured vehicle/weapon movement keys.
Event Reference →link_message
Engine Eventlink_message(integer sender, integer num, string str, key id)
Triggered when another script in the linkset calls llMessageLinked.
Event Reference →object_rez
Engine Eventobject_rez(key id)
Triggered on the rezzer prim when llRezObject successfully rezzes a child object.
Event Reference →on_rez
Engine Eventon_rez(integer start_param)
Triggered on the newly rezzed object when created into the world.
Event Reference →http_request
Engine Eventhttp_request(key id, string method, string body)
Triggered when an external client makes an HTTP request to the in-world URL.
Event Reference →http_response
Engine Eventhttp_response(key request_id, integer status, list metadata, string body)
Triggered when an external web server responds to an llHTTPRequest call.
Event Reference →transaction_result
Engine Eventtransaction_result(key id, integer success, string data)
Triggered when an asynchronous L$ transaction completes.
Event Reference →Configure Parameters
Live Compiled LSL Script
// Visual builder compiling...
⚡ Second Life LSL Optimization & Best Practices Guide
Verified guidelines for writing lagless, Mono-optimized Linden Scripting Language scripts.
🚪 Keyframed Motion vs Physical Moving
llSetKeyframedMotion(list frames, list options)
Allows smooth non-physical movement without consuming server physics time. Ideal for elevators, automated trains, and rotating doors.
View Wiki Article →🏎️ Physical Vehicles & Motors
llSetVehicleType(integer type)
Configures the vehicle parameters for physical prims including deflection, linear/angular motor decay, and vertical attraction.
View Wiki Article →💎 glTF PBR Materials
llSetPrimitiveParams([PRIM_GLTF_BASE_COLOR, ...])
Modern Second Life API function for changing PBR Base Color, Normal, Metallic-Roughness, and Emissive glTF assets dynamically.
View Wiki Article →⚔️ Raycast Hit Detection
llCastRay(vector start, vector end, list options)
Fires an instantaneous collision beam from the camera or muzzle to detect avatar/object intersections without projectile lag.
View Wiki Article →🛡️ Script Memory Caps
llSetMemoryLimit(integer limit)
Restricts script memory in Mono (e.g. 65536 bytes) so sim parcel limits are conserved and script lag is minimized.
View Wiki Article →🌐 Inbound Web Server Prims
llRequestURL()
Second Life HTTP-in allows external websites to communicate directly into your in-world objects with zero polling lag.
View Wiki Article →