Profile


Name
Band Utility
ID
49888
Shared with
Public
Parent
None
Children
Created on
August 23, 2014 at 05:55 AM UTC
Updated on
August 23, 2014 at 05:55 AM UTC
Description

Quick band settings

Best for


Code


dlg = dialog.CreateDialog(" Banding Utility ") dlg.Label = dialog.AddLabel("Set Start and End Segments") dlg.length = dialog.AddSlider("Set Length", 0, 0, 100, 0) dlg.strength = dialog.AddSlider("Set Strength", 1, 0, 10, 1) dlg.ok = dialog.AddButton("GO!", 1) dialog.Show(dlg) local length = dlg.length.value local strength = dlg.strength.value local bandCount = band.GetCount() for i=1, bandCount do band.SetGoalLength(i, length) band.SetStrength(i, strength) end

Comments


Ronin-Sensei Lv 1

This script gives two sliders, which affect ALL bands currently placed on a puzzle.

One for Band Length and the other for Band Strength.
Move the sliders into the desired positions for length or strength.

Default values are Zero-length bands and Default strength.
Strength and Length can be altered as needed, just re-run the script.

Remember, this affects ALL BANDS but it sure beats right-clicking each one over and over.