OsGetRegionMapTexture

From OpenSimulator

Revision as of 00:19, 5 February 2010 by ZauberExonar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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);
    }
}

--ZauberExonar 08:19, 5 February 2010 (UTC)

Personal tools
General
About This Wiki