OsGetRegionMapTexture

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (some format conversions)
Line 1: Line 1:
{{osslfunc|
+
{{osslfunc
threat_level = High
+
|threat_level=High
|
+
|function_syntax=osGetRegionMapTexture(string regionName)
function_syntax = <source lang="lsl">
+
|ossl_example=<source lang="lsl">
osGetRegionMapTexture(string regionName)
+
</source>
+
|
+
ossl_example = <source lang="lsl">
+
 
//Example Usage:
 
//Example Usage:
 
default {
 
default {
Line 15: Line 11:
 
}
 
}
 
</source>
 
</source>
|  
+
|description=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.  
additional_info = 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.  
+
 
|
 
|
 
}}
 
}}

Revision as of 20:34, 1 July 2011

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 No permissions specified
Extra Delay No function delay specified
Example(s)
//Example Usage:
default {
    state_entry() {
        key map = osGetRegionMapTexture(llGetRegionName());
        llSetTexture(map, 0);
    }
}
Personal tools
General
About This Wiki