OsGetRegionSize

From OpenSimulator

Revision as of 16:42, 7 March 2014 by Nebadon (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 None
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
default
{
    touch_start(integer t)
    {
        llSay(0, "Region size: " + (string)osGetRegionSize());
    }
}
Personal tools
General
About This Wiki