OsGetRegionMapTexture

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(New page: '''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, y...)
 
Line 13: Line 13:
 
</pre></code>
 
</pre></code>
  
--[[User:ZauberExonar|ZauberExonar]] 08:19, 5 February 2010 (UTC)
+
 
 +
 
 +
[[Category:OSSL]]

Revision as of 08:44, 19 November 2010

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. osGetRegionMapTexture has a threat level of High.


//Example Usage:
default {
    state_entry() {
        key map = osGetRegionMapTexture(llGetRegionName());
        llSetTexture(map, 0);
    }
}
Personal tools
General
About This Wiki