OsGetRegionMapTexture

From OpenSimulator

Revision as of 09:43, 11 June 2011 by Fritigern (Talk | contribs)

Jump to: navigation, search
OsGetRegionMapTexture
Threat Level High
Function Syntax
osGetRegionMapTexture(string regionName)
Example(s)
//Example Usage:
default {
    state_entry() {
        key map = osGetRegionMapTexture(llGetRegionName());
        llSetTexture(map, 0);
    }
}

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