User:Horrible Calamity

From Second Life Wiki
Revision as of 10:21, 5 April 2010 by Horrible Calamity (talk | contribs) (Created page with '=== Snippets === Various snippets for little things. ==== Ladders ==== This is a fun shape that, without requiring scripts or anything other than a single prim, allows you to wa...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Snippets

Various snippets for little things.

Ladders

This is a fun shape that, without requiring scripts or anything other than a single prim, allows you to walk 90˚ straight up. It can be used for making ladders and/or walkable walls. The 'best' size is 5m high and 1m wide, too high and you lose 'traction'. However, you can chain as many as you want to make a ladder straight into the sky.

  1. Make a new prim
  2. Insert the following script, save, and run

<lsl> default {

   state_entry()
   {
       llSetPrimitiveParams([PRIM_TYPE, 1, 0, <0.0, 1.0, 0.0>, 0.0, <1.0, -1.0, 0.0>, <1.0, 1.0, 0.0>,
            <0.0, 0.0, 0.0>, PRIM_SIZE, <0.01, 1.0, 5.0>]);
       llRemoveInventory(llGetScriptName());
   }

} </lsl>