Difference between revisions of "Talk:LlGetObjectPrimCount"
Jump to navigation
Jump to search
(Created page with '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 attac...') |
TaraLi Jie (talk | contribs) |
||
Line 1: | Line 1: | ||
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. [[User:Ookami Hudson|Ookami Hudson]] 01:14, 6 April 2010 (UTC) | 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. [[User:Ookami Hudson|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. [[User:TaraLi Jie|TaraLi Jie]] 05:19, 6 April 2010 (UTC) |
Revision as of 21:19, 5 April 2010
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)