Inspect region information, performance, terrain, and environment.
Feature: Parcels & Regions
What do you want to do?
string llGetRegionName()Returns a string containing the name of the current region.integer llGetRegionFlags()Returns an integer bitfield representing the region flags (REGION_FLAG_*) currently enabled for the region containing the object.float llGetRegionTimeDilation()Returns a float representing the current physics time dilation of the region, ranging from 0.0 (full dilation / slow) to 1.0 (no dilation / real-world speed).Reference
29 topic entries
integer llEdgeOfWorld(vector pos, vector dir)functionChecks if the border reached along the vector dir from the vector pos is the edge of the world (i.e., has no neighboring simulator). Returns
TRUEif it hits the edge of the world, orFALSEif there is a neighboring simulator.list llGetAgentList(integer scope, list options)functionRequests a list of avatar UUID keys for agents currently in the region, limited by scope. Returns a list of keys or a list containing an error message string.
string llGetEnv(string name)functionReturns a string containing the requested regional data specified by name.
integer llGetRegionAgentCount()functionReturns an integer representing the current number of avatars in the region.
vector llGetRegionCorner()functionReturns a vector (in meters) representing the global grid coordinates of the south-west corner of the current region (Z component is always 0.0).
integer llGetRegionDayLength()functionReturns an integer representing the total number of seconds in the region-wide day cycle.
integer llGetRegionDayOffset()functionReturns an integer representing the offset duration (in seconds) added to calculate the current environmental time for the region.
float llGetRegionFPS()functionReturns a float representing the average region simulator frames per second (FPS).
integer llGetRegionFlags()functionReturns an integer bitfield representing the region flags (REGION_FLAG_*) currently enabled for the region containing the object.
vector llGetRegionMoonDirection()functionReturns a normalized vector representing the current direction of the region's moon, taking altitude into account.
rotation llGetRegionMoonRotation()functionReturns a rotation representing the orientation applied to the moon at the region level, taking altitude track into account.
string llGetRegionName()functionReturns a string containing the name of the current region.
vector llGetRegionSunDirection()functionReturns a normalized vector representing the current direction of the region's sun, taking altitude into account.
rotation llGetRegionSunRotation()functionReturns a rotation representing the orientation applied to the sun at the region level, taking altitude track into account.
float llGetRegionTimeDilation()functionReturns a float representing the current physics time dilation of the region, ranging from 0.0 (full dilation / slow) to 1.0 (no dilation / real-world speed).
float llGetRegionTimeOfDay()functionReturns a float with subsecond precision representing the elapsed seconds since region environmental midnight or region uptime (whichever is smaller). If the region's sun position is fixed, returns region uptime.
float llGetSimStats(integer stat_type)functionReturns a float containing the value of the requested region statistic specified by stat_type.
string llGetSimulatorHostname()functionReturns a string containing the hostname of the server machine running the script (e.g., 'sim225.agni.lindenlab.com').
float llGround(vector offset)functionReturns a float representing the ground height directly below the prim's position offset by the vector offset.
vector llGroundContour(vector offset)functionReturns a vector representing the ground contour direction (the direction with no change in elevation) directly below the prim's position offset by the vector offset.
vector llGroundNormal(vector offset)functionReturns a vector representing the ground surface normal vector directly below the current position offset by the vector offset.
llGroundRepel(float height, integer water, float tau)functionCritically damps the object's vertical motion to height (using critical damping timescale tau) if it is within height * 0.5 of the terrain (or water level if water is
TRUE). Only works on physics-enabled objects; do not use with vehicles.vector llGroundSlope(vector offset)functionReturns a vector representing the ground slope directly below the prim's position offset by the vector offset.
llModifyLand(integer action, integer brush)functionModifies the terrain using the specified land action and brush size (0, 1, or 2, corresponding to 2m x 2m, 4m x 4m, or 8m x 8m).
key llRequestSimulatorData(string region, integer data)functionAsynchronously requests data (using a DATA_SIM_* constant) about the region. Triggers a dataserver event and returns a key query handle.
integer llSetGroundTexture(list changes)functionChanges the painted terrain textures on the region based on changes. The script owner must have estate management rights. Returns an integer status.
float llWater(vector offset)functionReturns a float representing the water height directly below the prim's position offset by the vector offset.
vector llWind(vector offset)functionReturns a vector representing the wind velocity at the prim's position offset by the vector offset.
changed(integer changes)eventTriggered when various properties of the object change. The parameter changes is a bitfield of CHANGED_* flags.
No matching entries. Try a different term or filter.