Hello,
I was looking for the function/command to set values to 'path cut begin' and 'path cut end'. Tried looking for it but couldnt find it.
Anyone wanna help me out?
Thanks in advance,
DazL
These forums are CLOSED. Please visit the new forums HERE
Path cut begin / end |
|
|
DazL Dumouriez
Registered User
Join date: 11 Aug 2006
Posts: 6
|
08-23-2006 05:43
Hello,
I was looking for the function/command to set values to 'path cut begin' and 'path cut end'. Tried looking for it but couldnt find it. Anyone wanna help me out? Thanks in advance, DazL |
|
Norman Desmoulins
Grand Poohba
Join date: 10 Nov 2005
Posts: 194
|
08-23-2006 05:48
|
|
DazL Dumouriez
Registered User
Join date: 11 Aug 2006
Posts: 6
|
08-24-2006 01:08
Thanks that got me a long way on the right track. This is what the Wiki says for PRIM_TYPE_TUBE. integer holeshape, vector cut, float hollow, vector twist, vector holesize, vector topshear, vector profilecut, vector taper, float revolutions, float radiusoffset, float skew. llSetPrimitiveParams([PRIM_TYPE, PRIM_TYPE_TUBE, A, <B1, B2, B3>, C, <D1, D2, D3>, <E1, E2, E3>, <F1, F2, F3>, <G1, G2, G3>, <H1, H2, H3>, I, J, K]); A = integer holeshape B = vector cut C = float hollow D = vector twist E = vector holesize F = vector topshear G = vector profilecut H = vector taper I = float revolutions J = float radiusoffset K = float skew Is the above correct? I think its not posible to directly set one value and leave the others at their current values? If so I wanted to read all values in variables first with llGetPrimitiveParams, and then write them back with llSetPrimitiveParams. So it would look something like this integer intHolescape; vector vecCut; float fltHollow; vector vecTwist; vector vecHolesize; vector vecTopeshear; vector vecProfilecut; vector vecTaper; float fltRevolutions; float fltRadiusoffset; float fltSkew; Read the values with llGetPrimitiveParams and put them in a list. Read through the list and fill the variables. Write the values back with llSetPrimitiveParams, with one of the values altered to my needs. Anyone wants to explain how I can do this? Help would be much appreciated. Thanx a ton in advance! |
|
Seagel Neville
Far East User
Join date: 2 Jan 2005
Posts: 1,476
|
08-24-2006 02:33
Sorry, I might not understand what you really want to know, but does it mean like this?
_____________________
Seagel Neville ![]() |
|
DazL Dumouriez
Registered User
Join date: 11 Aug 2006
Posts: 6
|
08-24-2006 02:49
Sorry, I might not understand what you really want to know, but does it mean like this? I think that thread contains my answer yes. Ill have to look into it tonight at home. Sorry for not being clear in my previous post. In essence what I was trying was; ---- Read all values with llGetPrimitiveParams Put all values in the following variables; - integer intHolescape; - vector vecCut; - float fltHollow; - vector vecTwist; - vector vecHolesize; - vector vecTopeshear; - vector vecProfilecut; - vector vecTaper; - float fltRevolutions; - float fltRadiusoffset; - float fltSkew; Change one or more variables according to my need Write the values with llSetPrimitiveParams |