G General

Script: Multipage dance machine Versión 1.0b

Script: Multipage dance machine
Detalles
Funciones
Contenidos
Reseñas

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

It's just a basic dance machine script - place it inside a prim, add 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.
Clasificación media: estrella llena estrella llena estrella llena estrella llena media estrella
  • 5 estrella:
  • 4 estrella:
  • 3 estrella:
  • 2 estrella:
  • 1 estrella:
GREAT script!
estrella llena estrella llena estrella llena estrella llena estrella llena Publicado July 17, 2018 por Druscilla Ferraris

Used Jasons small correction and this is an fab dance ball script!

¿Te ha resultado útil esta revisión?
Very good!
estrella llena estrella llena estrella llena estrella llena estrella vacía Publicado August 31, 2017 por 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!!

¿Te ha resultado útil esta revisión?
Very Useful
estrella llena estrella llena estrella llena estrella llena estrella llena Publicado August 28, 2017 por tamanna11

working good

¿Te ha resultado útil esta revisión?
small error
estrella llena estrella llena estrella llena estrella llena estrella vacía Publicado August 16, 2017 por 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, "");

¿Te ha resultado útil esta revisión?
Very useful
estrella llena estrella llena estrella llena estrella llena estrella llena Publicado June 20, 2017 por carboncampus

Thank you for sharing this is very useful!

¿Te ha resultado útil esta revisión?
perfect
estrella llena estrella llena estrella llena estrella llena estrella llena Publicado June 30, 2016 por Angelica Lowtide

thank you

¿Te ha resultado útil esta revisión?