User:Jana Kamachi/tut wprimz

From Second Life Wiki
Jump to navigation Jump to search

First thing first, rez a prim.

Now, make a new script, and stick this in it:

<lsl>default {

   state_entry()
   {
       llSetPrimitiveParams([PRIM_TYPE,4, 0, <0.000000, 1.000000, 0.000000>, 0.000000, <0.000000, 0.000000, 0.000000>, <1.000000, 0.150000, 0.000000>, <0.000000, 0.000000, 0.000000>, <0.000000, 1.000000, 0.000000>, <0.000000, 0.000000, 0.000000>, 4.000000, 0.000000, 0.800000, PRIM_SIZE, <.5,1.,1.>]);
       llRemoveInventory(llGetScriptName());
   }

}</lsl>

Save and run the script. You now have your shape. Try positioning it on yourself, around your waist, and see the effects. If it doesn't seem to be working, you may just be off a bit.