OsGetRegionSize
From OpenSimulator
(Difference between revisions)
Line 14: | Line 14: | ||
Usually this function returns 256x256. | Usually this function returns 256x256. | ||
− | However, when called in | + | However, when called in a megaregion it returns the size of the megaregion. |
| | | | ||
}} | }} |
Revision as of 05:13, 22 January 2014
vector osGetRegionSize()
| |
Returns the size of the region in meters.
Usually this function returns 256x256. However, when called in 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_start(integer t) { llSay(0, "Region size: " + (string)osGetRegionSize()); } } |