Candybags: Unrigged Breasts Script
Edie_Shoreland Mar 2nd, 2019 (edited) 19 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- //Scripts for Candybags by NawtieNitey "NaNi" October 2014
- //Revised for Pastebin.com March 2019
- integer chanl;
- //set up a unique channel between two attachments based on the wearer's
- //UUID to prevent the objects accidentally communicating with others who
- //may be using the same devices
- string uniq_chan = (string)llGetOwner( ); //get the wearer's key
- uniq_chan = "0x" + (llGetSubString(uniq_chan, 6, 7)) + (llGetSubString(uniq_chan, 11, 12));
- integer poschan = (integer)uniq_chan; //establish a channel using parts of that key.
- chanl = 0 - poschan; //make the channel a negative value
- touch_start(integer total_count)
- if (llGetOwner( ) != llDetectedKey(0))
- //The touch event only sends a message if someone other than the
- //owner touches the breasts. Blocking owner touches prevents this
- //script from interfering with the editing and adjustment scripts
- //used by the owner to alter shape, placement and skintone, and
- //prevents the owner from being spammed by the Candybags script
- //while making these adjustments.
- //All prizes, notecards, candy, etc. go in the Candybags HUD; NOT
- //the prim breasts. This script should be the ONLY thing added to
- //your breasts as part of the Candybags setup.
- llWhisper(chanl, (string)llDetectedKey(0) + llDetectedName(0));
RAW Paste Data