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