OsGetRegionMapTexture

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (some syntax modification (may be major or minor))
m (Added permissions and delay information)
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
 
|threat_level=High
 
|threat_level=High
 +
|permissions=${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
 +
|delay=1
 
|function_syntax=key osGetRegionMapTexture(string regionName)
 
|function_syntax=key osGetRegionMapTexture(string regionName)
 
|ossl_example=<source lang="lsl">
 
|ossl_example=<source lang="lsl">

Revision as of 19:01, 25 October 2017

key osGetRegionMapTexture(string regionName)
This function retrieves the UUID of the texture used to represent the named region on the world map, and returns it. Using this function, you can place the map texture directly onto a prim.
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);
    }
}
Personal tools
General
About This Wiki