User:Cow Taurog/Sim map texture

From Second Life Wiki
Jump to: navigation, search

Create a cube, and resize it to the dimensions you would like your map to be. Texture and color the whole thing as you would want the faces that aren't the map to look. Drop this script in, and click the face you would like to put the map on. It will overwrite the color and texture for that face, and make it a map of the sim instead. The script will then delete itself after it is done.

<lsl> integer giFace; key gkReq; default{

   on_rez(integer params){llResetScript();}
   touch_start(integer num){if(llDetectedKey(num-1)==llGetOwner()){giFace=llDetectedTouchFace(num-1);state grab;}}

} state grab{

   http_response(key id,integer status,list meta,string body){

} </lsl>