I'm trying to set the hollow in a prim to 95%, I can't find an example in Wiki showing me it's use.
integer hollow=95;
llSetPrimitiveParams(PRIM_TYPE,PRIM_TYPE_BOX,[hole_shape,cut,hollow,twist,top_size,top_shear]);
Anyone tell me the correct way?
These forums are CLOSED. Please visit the new forums HERE
I having silly protocol problems :/ |
|
|
Tegg Bode
FrootLoop Roo Overlord
Join date: 12 Jan 2007
Posts: 5,707
|
08-25-2008 00:26
I'm trying to set the hollow in a prim to 95%, I can't find an example in Wiki showing me it's use.
integer hollow=95; llSetPrimitiveParams(PRIM_TYPE,PRIM_TYPE_BOX,[hole_shape,cut,hollow,twist,top_size,top_shear]); Anyone tell me the correct way? _____________________
Level 38 Builder [Roo Clan]
Free Waterside & Roadside Vehicle Rez Platform, Desire (88, 17, 107) Avatars & Roadside Seaview shops and vendorspace for rent, $2.00/prim/week, Desire (175,48,107) |
|
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
|
08-25-2008 00:45
A cut and paste from the wiki:
hollow "ranges from 0.0 (solid) to 0.95 (maximum hollowed)" See: http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSetPrimitiveParams _____________________
From Studio Dora
|
|
Tegg Bode
FrootLoop Roo Overlord
Join date: 12 Jan 2007
Posts: 5,707
|
08-25-2008 01:08
A cut and paste from the wiki: hollow "ranges from 0.0 (solid) to 0.95 (maximum hollowed)" See: http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSetPrimitiveParams Thanks Dora, wow that's a different wiki and it seems pretty good too, that will no doubt save a lot of silly questions ![]() _____________________
Level 38 Builder [Roo Clan]
Free Waterside & Roadside Vehicle Rez Platform, Desire (88, 17, 107) Avatars & Roadside Seaview shops and vendorspace for rent, $2.00/prim/week, Desire (175,48,107) |
|
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
|
08-25-2008 01:09
In other words, it works as a fraction instead of a percentage.
95% = 0.95 |