Don't click here unless you want to be banned.

LSL Wiki : OBJECT_UNKNOWN_DETAIL

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl338.us.archive.org

OBJECT_UNKNOWN_DETAIL


OBJECT_UNKNOWN_DETAIL is an integer constant that is returned whenever an invalid object parameter type is passed to llGetObjectDetails. Has the value '-1'.

Example Usage:
default
{
    state_entry()
    {
        list details = llGetObjectDetails(llGetKey(), [PRIM_TYPE]);         // PRIM_TYPE is a constant used for llSetPrimitiveParams, and will not work with llGetObjectDetails, so it will return -1

        llSay (0, llDumpList2String (details, ", "));        // dump the list into a string and say it on the public channel
    }

}


Object | Constants | OBJECT_UNKNOWN_DETAIL
There is no comment on this page. [Display comments/form]