G General

[PG] Script: Multipage dance machine Version 1.0b

[PG] Script: Multipage dance machine
Details
Features
Contents
Reviews

~~ Welcome to the Pantera Polnocy's Gadgets store ~~

It's just a basic dance machine script - place it inside a prim with your own animations, click on this prim and you'll get a list of dances. Click on the button and you will start dance. I've used a base of this assembled engine from the script, which I've found at "Free SL Scripts", please look here:

http://www.freeslscripts.gendersquare.org/index.php?view=article&id=111

// Just add this script into a prim with up to 11 dances and touch the prim to start the dialog menu
// Retrieved from from Free SL Scripts on http://www.freeSLscripts.com or www.gendersquare.org/sl
// Author: unknown

However, this original version offers only 11 dances and a STOP button. I've tweaked, optimized and rewritten its source in ~75%, using functions like...

http://wiki.secondlife.com/wiki/Stristr
http://wiki.secondlife.com/wiki/Like

... and adding support for multiple pages. Now you may put as many dance animations in the prim as you want to, page count will automatically extend! Just look at the screens. You may even attach your object with dances and this script to your HUD - instead of placing it on the ground for public use - and use it only personally.

Open source and free in parts modified by me, that's for sure. Do whatever you want with it, but don't remove any existing credits from comments. Also, have fun and try to learn some LSL scripting, it's not that hard as it looks.

You'll get a notecard, just save it as a script.
Dances are not included, obviously. It's only code.

Like it? Leave a review! ^^

---

// Original script retrieved from from Free SL Scripts on http://www.freeSLscripts.com or www.gendersquare.org/sl
// Author: unknown
// http://www.freeslscripts.gendersquare.org/index.php?view=article&id=111
// ---
// Heavy optimization, comments and additional advanced multi-page functionality added by PanteraPolnocy Resident.
// My work or ideas here are open source. One condition: just have fun.
// secondlife:///app/agent/5e9cbbb8-1aef-4692-bfc4-a53f8c8fcbc9/about
// ---
// Used functions from LSL library: "Stristr" by Ugleh Ulrik and "Like" by Very Keynes.
// http://wiki.secondlife.com/wiki/Stristr
// http://wiki.secondlife.com/wiki/Like
// ---
// Please leave above notices as-they-are.

  • Basic dance machine script. Drag into prim, add dances and voila.
  • Multiple pages support - pagination.
  • Base: http://www.freeslscripts.gendersquare.org/index.php?view=article&id=111
  • Attach to your HUD or place on the ground for public use - will work well.
Average rating: full star full star full star full star half star
  • 5 star:
  • 4 star:
  • 3 star:
  • 2 star:
  • 1 star:
Very good!
full star full star full star full star empty star Posted August 31, 2017 by Aiemmi

Well... it works! And very very easy to setup if you have just a very little skill on building objects.
The only thing I don't like is that each time you go to change the dance and when you chose to stop dances it asks for permission to animate your avatar, that's really boring.
Apart from this issue it works really well and I highly recommend it. Not the less it's for free!
Great job! Thank you!!

Was this review helpful?
Very Useful
full star full star full star full star full star Posted August 28, 2017 by tamanna11

working good

Was this review helpful?
small error
full star full star full star full star empty star Posted August 16, 2017 by JasonRaign

There is a small error in the code, leaving the first animation out of the list.
Put this in state_entry instead and it works. Never the less, a nice script for free !!! super!

total_dances = llGetInventoryNumber(INVENTORY_ANIMATION);
i = 0;
while(i < total_dances) {
dances_list = (dances_list = []) + dances_list + (string)llGetInventoryName(INVENTORY_ANIMATION, i);
i++;
}
llListen(chat_channel(), "", NULL_KEY, "");

Was this review helpful?
Very useful
full star full star full star full star full star Posted June 20, 2017 by carboncampus

Thank you for sharing this is very useful!

Was this review helpful?
perfect
full star full star full star full star full star Posted June 30, 2016 by Angelica Lowtide

thank you

Was this review helpful?
OMG TY!
full star full star full star full star full star Posted April 19, 2016 by MajikVixen Lorefield

You saved me! Yay! :D ♥

Was this review helpful?