OsGetRegionMapTexture
From OpenSimulator
(Difference between revisions)
m (Added permissions and delay information) |
|||
Line 3: | Line 3: | ||
|permissions=${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | |permissions=${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | ||
|delay=1 | |delay=1 | ||
− | |function_syntax=key osGetRegionMapTexture(string | + | |function_syntax=key osGetRegionMapTexture(string regionNameOrID) |
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
//Example Usage: | //Example Usage: | ||
Line 13: | Line 13: | ||
} | } | ||
</source> | </source> | ||
− | |description=This function retrieves the | + | |description=This function retrieves the key of the texture used to represent a region on the world map, and returns it. regionNameOrID can be the region UUID or its name. If empty string, will return the current region map texture key, but in that case you should use osGetMapTexture(). |
− | + | ||
}} | }} |
Revision as of 12:36, 27 August 2019
key osGetRegionMapTexture(string regionNameOrID)
| |
This function retrieves the key of the texture used to represent a region on the world map, and returns it. regionNameOrID can be the region UUID or its name. If empty string, will return the current region map texture key, but in that case you should use osGetMapTexture(). | |
Threat Level | High |
Permissions | ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER |
Extra Delay | 1 seconds |
Example(s) | |
//Example Usage: default { state_entry() { key map = osGetRegionMapTexture(llGetRegionName()); llSetTexture(map, 0); } } |