User:Jana Kamachi/tut wprimz

From Second Life Wiki
< User:Jana Kamachi
Revision as of 12:39, 9 January 2008 by Clarknova Helvetic (talk | contribs) (added your <lsl> syntax tags, made the prim rescale and the script self-delete. Thanks for releasing this discovery. You pwn :))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.