OsGetRegionSize

From OpenSimulator

Revision as of 08:58, 15 October 2018 by Kcozens (Talk | contribs)

Jump to: navigation, search
vector osGetRegionSize()
Returns the size of the region in meters.

Usually this function returns 256x256. However, when called in a var/mega region it returns the size of the entire simulator.

Threat Level This function does not do a threat level check
Permissions Use of this function is always allowed by default
Extra Delay 0 seconds
Example(s)
default
{
    touch_start(integer t)
    {
        llSay(0, "Region size: " + (string)osGetRegionSize());
    }
}
Notes
This function was added in 0.8-post-fixes


Personal tools
General
About This Wiki