OsGetRegionSize

From OpenSimulator

Revision as of 05:08, 22 January 2014 by Orenh (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
vector osGetRegionSize()
Returns the size of the region in meters.

Usually this function returns 256x256. However, when called in the root region of a megaregion it returns the size of the megaregion.

Threat Level None
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
default
{
    touch(integer t)
    {
        llSay(0, "Region size: " + (string)osGetRegionSize());
    }
}
Personal tools
General
About This Wiki