Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Changing primitive param

Enigma Kidd
Registered User
Join date: 10 Feb 2007
Posts: 10
01-15-2008 03:01
I've got a tube with the ff changed params:

Hollow: 5.0
Twist b: 50 e: 50

on touch i'm trying to change the params but it keeps defaulting to std params.
This is the script i'm trying to use:

CODE

default{

touch_start(integer total_number){

llSetPrimitiveParams([PRIM_TYPE, PRIM_TYPE_TUBE, 0, <0.0, 1.0, 0.0>, 0.0, <-50.0, -50.0, 0.0>, <1.0, 0.25, 0.0>, <0.0, 0.0, 0.0>, <0.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 1.0, 0.0, 0.0]);

}

}


what am i doing wrong? :s
Deira Llanfair
Deira to rhyme with Myra
Join date: 16 Oct 2006
Posts: 2,315
01-15-2008 11:49
I think you would do better if you posted this on the scripting forum - sorry I can't help you.
_____________________
Deira :)
Must create animations for head-desk and palm-face!.
Enigma Kidd
Registered User
Join date: 10 Feb 2007
Posts: 10
01-15-2008 11:51
oops you're right. not sure why i posted here :s