MLPV2 Balls Patch

From Second Life Wiki
Revision as of 09:44, 25 December 2011 by Gianinni Babenco (talk | contribs) (+ Category:MLPV2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a patch of the ~menu Script that allows Ball Menus to use different Objects as Pose Balls.

Step 1: Patch the ~menu Script

find the line

<lsl> llRezObject("~ball",llGetPos(),ZERO_VECTOR,ZERO_ROTATION,ch+BallCount);</lsl>

in the ~menu Script and replace it with

<lsl> // extension by Jenni Eales: use special balls for a ball number

       if (llGetInventoryType("~ball" + (string)BallCount) == INVENTORY_OBJECT)
           llRezObject("~ball" + (string)BallCount,llGetPos(),ZERO_VECTOR,ZERO_ROTATION,ch+BallCount);


Step 2: Add another Ball

  • make a copy of your ~ball object
  • rename it to ~ball0, ~ball1 etc.
  • add special features, e.g. add the ~capture Plugin
  • put it into your piece of furniture