Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Sitting & Prim Counts

Bartiloux Desmoulins
Think Kink? Think Bart!
Join date: 27 Sep 2005
Posts: 121
04-07-2007 08:52
If you have a two-prim object, one with a sit target imbedded in its script, once you sit on the object, does the prim count for the object go from two to three? I know the change event is triggered, specifically with change_link so I was just wondering if the actual prim count went up when an object is sat upon.

Thanks in advance for your replies!

Bartiloux Desmoulins
Simil Miles
Creator
Join date: 1 Mar 2007
Posts: 300
04-07-2007 09:58
The Build window says 2 but llGetNumberOfPrims() says 3.
llGetLinkKey(3), llGetLinkName(3) and llSetLinkPrimitiveParams(3, [PRIM_ROTATION, <0, 0, 0, 1>]) do work on the avatar, not the rest, unfortunately.
_____________________
UnConWTech @ Flo (144, 84, 224) http://unconwtech.free.fr

SL books http://astore.amazon.com/secondlife-sl-20/

Need a beta tester for quality assurance ?
Need a translator for English, French, Spanish ?
Bartiloux Desmoulins
Think Kink? Think Bart!
Join date: 27 Sep 2005
Posts: 121
04-07-2007 10:30
Perfect! This will make it easier to trap certain events! Thank you!
Deanna Trollop
BZ Enterprises
Join date: 30 Jan 2006
Posts: 671
04-07-2007 20:45
From: Simil Miles
llGetLinkKey(3), llGetLinkName(3) and llSetLinkPrimitiveParams(3, [PRIM_ROTATION, <0, 0, 0, 1>]) do work on the avatar, not the rest, unfortunately.

What, no changing av skins with llSetLinkTexture? Darn... :p
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
04-08-2007 03:38
if only... llSetLinkAlpha(0, 0, ALL_SIDES)
_____________________

● Inworld Store: http://slurl.eclectic-randomness.com
● Website: http://www.eclectic-randomness.com
● Twitter: @WinterVentura