Logo ZeroTerminal.com
Dance ball script with menu




Really useful script to make yours and other people's avatars dance (or animate). It doesn't work for couples, but it comes really handy for clubs or even private parties at your house.


You can add up to 11 dancing animations in it, and by clicking on the prim, the avatar will get a blue menu with different options. There's a list of the animations inside the prim and buttons that will help you choose which one you want.


To use it, please rezz any prim you want your animating ball to be, texture as you want, and add the animations into the contents. Once done, just add this script inside the contents of the prim, and voilà, you can start dancing!


To start dancing, you will have to touch the prim, which will give you different options (the dance animations in fact) and pick one. To change to another dance or just stop dancing, touch the prim again and choose the new dance animation or press the STOP button.


Please copy the next text into a new script in-world:



You must register before you can view this text. Please register and Login

        llDialog(llDetectedKey(0), dances, dance_buttons, chat_channel);
    listen(integer channel, string name, key id, string message)
        if(message == "STOP")
            dance_number = -1;
            dance_number = (integer)message - 1;
        llRequestPermissions(id, PERMISSION_TRIGGER_ANIMATION);
    changed(integer change)
        if(change & CHANGED_INVENTORY)
    run_time_permissions(integer perms)
            if(dance_number > -1)
                llStartAnimation(llGetInventoryName(INVENTORY_ANIMATION, dance_number));

Post comment


  #1 Author: mosthatedbish  

Group: Members
Register: 20.07.2010
oh i have this one it doesnt work on the site im tryin to use it on. thanx anyways
Articles: 6 | Comments: 16    

  #2 Author: Juan  

Group: Moderator
Register: 23.12.2010
Are scripts enabled at the place you are wanting to use it? It worked for me :S
Articles: 174 | Comments: 34    

  #3 Author: BlackSun  

Group: Members
Register: 28.11.2010
Mosthatedbish , i have a working version of it with animations in sl , pm me your avatar name i will send it to you in sl.
Articles: 3 | Comments: 3    

  #4 Author: zodiac  

Group: Members
Register: 24.06.2010
i'm trying to use this script in Avination and it doesn't work :((
Articles: 0 | Comments: 1    



Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.


User panel


Less than a month
More than a month
More than 3 months
More than a year

Popular downloads


Members 87297 (+0)
Posts 579 (+0)
Comments 335 (+0)
Online members 1