OsGetRegionMapTexture

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
{| width="100%" style="border: thin solid black"
+
{{osslfunc|
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
+
threat_level = High
|- valign="top"
+
|
|'''Threat Level''' || High
+
function_syntax = <source lang="lsl">
 
+
|- valign="top"
+
|'''Function Syntax''' || <source lang="lsl">
+
 
osGetRegionMapTexture(string regionName)
 
osGetRegionMapTexture(string regionName)
 
</source>
 
</source>
|- valign="top"
+
|
|'''Example(s)||<source lang="lsl">
+
ossl_example = <source lang="lsl">
 
//Example Usage:
 
//Example Usage:
 
default {
 
default {
Line 18: Line 15:
 
}
 
}
 
</source>
 
</source>
 
+
|  
|}
+
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.  
 
+
|
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.  
+
}}
 
+
[[Category:OSSL Functions]]
+

Revision as of 16:12, 12 June 2011

osGetRegionMapTexture(string regionName)
No descriptions provided
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);
    }
}
Notes
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.
Personal tools
General
About This Wiki