Talk:LlGetObjectPrimCount

From Second Life Wiki
Revision as of 22:19, 5 April 2010 by TaraLi Jie (talk | contribs)
Jump to navigation Jump to search

Using llGetObjectPrimCount(llGetKey()) in an object rezzed in world yields the desired result (the object's primcount); however, the same call will yield 0 if the object is attached. Is this the expected behaviour? For me, at least, this is unexpected. Maybe someone knows whether it should be like this, or not. Thanks. Ookami Hudson 01:14, 6 April 2010 (UTC)

I got caught the same way - neither this article, or llGetNumberOfPrims mentioned behavior when attached. Best seems to be testing llGetAttached, and using the appropriate call. TaraLi Jie 05:19, 6 April 2010 (UTC)