The same as @getpathnew, except that for an attachment point or clothing layer it stops after the first object or wearable and returns only one path. It dates from before several objects could share one attachment point. Prefer @getpathnew.

Syntax

@getpath[:<attachpt>|<layer>|<uuid>]=<channel>

Return value

A single path relative to #RLV, or an empty string. With no option or a UUID, the result is identical to @getpathnew.

Caveats

Examples

// From a worn object: where am I stored?
llOwnerSay("@getpath=81234");

See also

Implementation notes

RRInterface.cpp 1846 calls getFullPath(getItem(uuid), option, false). With full_list == false, the attachment and layer loops break after the first push (5454, 5483).

Client differences

No differences beyond those listed for @getpathnew.

Comparison with RLVa

No significant differences from RLVa's @getpath.