OsGetParcelDetails

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{osslfunc |threat_level= none |permissions= none |delay=0 |additional_info=This function was added in 0.9.3.0 |function_syntax= osGetParcelDetails(key parcelID, list rules) |...")
 
 
Line 8: Line 8:
 
default
 
default
 
{
 
{
 +
    touch_start(integer blabla)
 +
    {
 
         list ids = osGetParcelIDs();
 
         list ids = osGetParcelIDs();
 
         integer count = llGetListLength(ids);
 
         integer count = llGetListLength(ids);
Line 16: Line 18:
 
             llSay(0,"** "+llDumpList2String(tmp," "));
 
             llSay(0,"** "+llDumpList2String(tmp," "));
 
         }
 
         }
 +
    }
 
}
 
}
 
</source>
 
</source>

Latest revision as of 12:31, 16 April 2023

osGetParcelDetails(key parcelID, list rules)
This function is like llGetParcelDetails, but using parcel global id (parcelID) instead of position in region.
Threat Level none is unknown threat level
Permissions none
Extra Delay 0 seconds
Example(s)
default
{
    touch_start(integer blabla)
    {
        list ids = osGetParcelIDs();
        integer count = llGetListLength(ids);
        integer i = 0;
        while (i < count)
        {
            list tmp = osGetParcelDetails(llList2Key(ids,i++),[PARCEL_DETAILS_OWNER,PARCEL_DETAILS_NAME,PARCEL_DETAILS_AREA]);
            llSay(0,"** "+llDumpList2String(tmp," "));
        }
    }
}
Notes
This function was added in 0.9.3.0


Personal tools
General
About This Wiki