Edie_Shoreland

Candybags: Unrigged Breasts Script

Mar 2nd, 2019
496
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Scripts for Candybags by NawtieNitey "NaNi" October 2014
  2. //Revised for Pastebin.com  March 2019
  3.  
  4. integer chanl;
  5.  
  6. default
  7. {
  8.     state_entry()
  9.     {
  10.         //set up a unique channel between two attachments based on the wearer's
  11.         //UUID to prevent the objects accidentally communicating with others who
  12.         //may be using the same devices
  13.         string uniq_chan = (string)llGetOwner( ); //get the wearer's key
  14.         uniq_chan = "0x" + (llGetSubString(uniq_chan, 6, 7)) + (llGetSubString(uniq_chan, 11, 12));
  15.         integer poschan = (integer)uniq_chan; //establish a channel using parts of that key.
  16.         chanl = 0 - poschan; //make the channel a negative value
  17.     }
  18.  
  19.     touch_start(integer total_count)
  20.     {
  21.         if (llGetOwner( ) != llDetectedKey(0))
  22.         {
  23.             //The touch event only sends a message if someone other than the
  24.             //owner touches the breasts. Blocking owner touches prevents this
  25.             //script from interfering with the editing and adjustment scripts
  26.             //used by the owner to alter shape, placement and skintone, and
  27.             //prevents the owner from being spammed by the Candybags script
  28.             //while making these adjustments.
  29.             //All prizes, notecards, candy, etc. go in the Candybags HUD; NOT
  30.             //the prim breasts. This script should be the ONLY thing added to
  31.             //your breasts as part of the Candybags setup.
  32.             llWhisper(chanl, (string)llDetectedKey(0) + llDetectedName(0));
  33.         }
  34.     }
  35. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×