OsGetRegionSize: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Orenh m Orenh moved page Feature Proposals/OsGetRegionSize to OsGetRegionSize |
imported>Nebadon No edit summary |
||
| Line 14: | Line 14: | ||
Usually this function returns 256x256. | Usually this function returns 256x256. | ||
However, when called in a | However, when called in a var/mega region it returns the size of the entire simulator. | ||
| | | | ||
}} | }} | ||
Revision as of 23:42, 7 March 2014
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());
}
}
| |