OSSL Constants/PARCEL DETAILS DWELL

From OpenSimulator

Revision as of 05:15, 5 August 2019 by Djphil (Talk | contribs)

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

Example:

default
{
    state_entry() {;}
 
    touch_start(integer number)
    {
        vector position = llGetPos();
 
        list details = llGetParcelDetails(position, [
            PARCEL_DETAILS_NAME, 
            PARCEL_DETAILS_DESC, 
            PARCEL_DETAILS_AREA,
            PARCEL_DETAILS_DWELL
        ]);
 
        string text = "PARCEL INFOS";
        text += "\nLocal Parcel @ " + (string)position;
        text += "\nLocal Parcel Name: "  + llList2String(details, 0);
        text += "\nLocal Parcel Desc: "  + llList2String(details, 1);
        text += "\nLocal Parcel Area: "  + llList2String(details, 2) + " m²";
        text += "\nLocal Parcel Dwell: " + llList2String(details, 3);
        llSay(PUBLIC_CHANNEL, text);
    }
}
Personal tools
General
About This Wiki