Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///////////////////////////////////////////////////////
- // Welcome to the Kinzart Dire Wolf custom texture set
- // applier script!
- //
- // It is recommended that you copy/paste this into
- // a new script so people know who to ask for support
- // from. If they message us, we won't know who to
- // send them to!
- //
- // It is also essential that you set this script
- // to copy-only. Modification permission lets them
- // take the texture UUIDs, and transfer permission
- // lets them hand it out for free.
- //
- // To set up this script, simply paste the texture UUID
- // into the appropriate bodypart.
- //
- // To use this script, put it in a box and click the box.
- // Note that clicking the box will DELETE it afterwards.
- // So take a copy before testing.
- //
- // 29 DEC 2018 - Stickman Ingmann
- // You can update this to send a custom message thanking
- // the user for their business.
- string MSG_SUCCESS = "Thank you for buying the Kinzart Dire Wolf! Please enjoy your new textures.";
- string head = "";
- string neck = "";
- string torso = "";
- string arm = "";
- string leg = "";
- string tail = "";
- ///////////////////////////////////////////////////////
- // You don't need to edit below this.
- default {
- state_entry() {
- llSetText("Click to apply the texture\nto your KZK Dire Wolf!", <1.0, 1.0, 1.0>, 1.0);
- }
- touch_start(integer num) {
- if (llGetOwner() == llDetectedKey(0)) {
- if (head) {
- llRegionSayTo(llGetOwner(), 23, "st thead "+head);
- }
- if (neck) {
- llRegionSayTo(llGetOwner(), 23, "st tneck "+neck);
- }
- if (torso) {
- llRegionSayTo(llGetOwner(), 23, "st ttorso "+torso);
- }
- if (arm) {
- llRegionSayTo(llGetOwner(), 23, "st tarm "+arm);
- }
- if (leg) {
- llRegionSayTo(llGetOwner(), 23, "st tleg "+leg);
- }
- if (tail) {
- llRegionSayTo(llGetOwner(), 23, "st ttail "+tail);
- }
- llOwnerSay(MSG_SUCCESS);
- llSetTimerEvent(10.0);
- }
- }
- on_rez(integer a) {
- llSetTimerEvent(0.0);
- }
- timer() {
- llDie();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement