Inspect region information, performance, terrain, and environment.
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
Badges
Kind
integer llEdgeOfWorld(vector pos, vector dir)Checks if the border reached along the vector dir from the vector pos is the edge of the world (i.e., has no neighboring simulator). ReturnsTRUEif it hits the edge of the world, orFALSEif there is a neighboring simulator.functionlist llGetAgentList(integer scope, list options)Requests 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.functionstring llGetEnv(string name)Returns a string containing the requested regional data specified by name.functioninteger llGetRegionAgentCount()Returns an integer representing the current number of avatars in the region.functionvector llGetRegionCorner()Returns a vector (in meters) representing the global grid coordinates of the south-west corner of the current region (Z component is always 0.0).functioninteger llGetRegionDayLength()Returns an integer representing the total number of seconds in the region-wide day cycle.functioninteger llGetRegionDayOffset()Returns an integer representing the offset duration (in seconds) added to calculate the current environmental time for the region.functionfloat llGetRegionFPS()Returns a float representing the average region simulator frames per second (FPS).functioninteger llGetRegionFlags()Returns an integer bitfield representing the region flags (REGION_FLAG_*) currently enabled for the region containing the object.functionvector llGetRegionMoonDirection()Returns a normalized vector representing the current direction of the region's moon, taking altitude into account.functionrotation llGetRegionMoonRotation()Returns a rotation representing the orientation applied to the moon at the region level, taking altitude track into account.functionstring llGetRegionName()Returns a string containing the name of the current region.functionvector llGetRegionSunDirection()Returns a normalized vector representing the current direction of the region's sun, taking altitude into account.functionrotation llGetRegionSunRotation()Returns a rotation representing the orientation applied to the sun at the region level, taking altitude track into account.functionfloat 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).functionfloat llGetRegionTimeOfDay()Returns 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.functionfloat llGetSimStats(integer stat_type)Returns a float containing the value of the requested region statistic specified by stat_type.functionstring llGetSimulatorHostname()Returns a string containing the hostname of the server machine running the script (e.g., 'sim225.agni.lindenlab.com').functionS (Sleeps 10s)float llGround(vector offset)Returns a float representing the ground height directly below the prim's position offset by the vector offset.functionvector llGroundContour(vector offset)Returns 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.functionvector llGroundNormal(vector offset)Returns a vector representing the ground surface normal vector directly below the current position offset by the vector offset.functionllGroundRepel(float height, integer water, float tau)Critically 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 isTRUE). Only works on physics-enabled objects; do not use with vehicles.functionvector llGroundSlope(vector offset)Returns a vector representing the ground slope directly below the prim's position offset by the vector offset.functionllModifyLand(integer action, integer brush)Modifies 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).functionkey llRequestSimulatorData(string region, integer data)Asynchronously requests data (using a DATA_SIM_* constant) about the region. Triggers a dataserver event and returns a key query handle.functionS (Sleeps 1s)integer llSetGroundTexture(list changes)Changes the painted terrain textures on the region based on changes. The script owner must have estate management rights. Returns an integer status.functionfloat llWater(vector offset)Returns a float representing the water height directly below the prim's position offset by the vector offset.functionvector llWind(vector offset)Returns a vector representing the wind velocity at the prim's position offset by the vector offset.functionchanged(integer changes)Triggered when various properties of the object change. The parameter changes is a bitfield of CHANGED_* flags.event
No matching entries. Try a different term or filter.