1
Script Debug / The MultiFlute 0.5
« on: July 26, 2011, 06:40:08 PM »
This is my first complete script that I think might be good enough to share with others. What it does is simple: its a menu that allows you to easily switch between each of your flutes of renewal (or other slayer/superslayer) and a GM instrument. My bard carries a full set of six flutes of renewal and a single GM-crafted instrument, which is the setup this script was written for. It could be adapted for other instrument sets as well, if necessary.
Instructions:
When you first start the script, you'll be prompted to set your instruments. This setup will store your instruments permanently so it only has to be done one time. Remember though, if you replace an instrument (your GM crafted one breaks for example), you'll have to run through the instrument setup again to register the new instrument. Also, the script does not yet differentiate between the different slayer types, so its up to you to choose the correct ones. The script will not correct it for you. If you mistakenly select the wrong instrument during setup, restart the script and do it again.
The Current Instrument line only tells you what instrument you most recently selected in the menu. So, if you manually use an instrument instead of choosing it through the script, that line will not update to reflect the change. You'll have to reselect an instrument in the menu for it to show a change.
Once this is done (or skipped), you'll be at the main menu, where you just select which instrument you want to use and it will automatically switch over to that instrument for you.
What this script does not do:
1) use any bard skills for you
2) prevent the loss/breakage of an instrument
Future changes that I plan to implement:
1) a counter that tells you how many uses are left on your current instrument
2) a failsafe to prevent you from using a flute of renewal when it gets down to one remaining use
3) an automatic continuous area peace toggle
4) possibly add in extra options for a single miscellaneous slayer instrument.
Anyway, this is my first real, solid script, and as far as I could tell its the only one that does what it does.
Dying to get some feedback whether good or bad, so tell me what you think and any suggestions to improve it would be GREAT!
Instructions:
When you first start the script, you'll be prompted to set your instruments. This setup will store your instruments permanently so it only has to be done one time. Remember though, if you replace an instrument (your GM crafted one breaks for example), you'll have to run through the instrument setup again to register the new instrument. Also, the script does not yet differentiate between the different slayer types, so its up to you to choose the correct ones. The script will not correct it for you. If you mistakenly select the wrong instrument during setup, restart the script and do it again.
The Current Instrument line only tells you what instrument you most recently selected in the menu. So, if you manually use an instrument instead of choosing it through the script, that line will not update to reflect the change. You'll have to reselect an instrument in the menu for it to show a change.
Once this is done (or skipped), you'll be at the main menu, where you just select which instrument you want to use and it will automatically switch over to that instrument for you.
What this script does not do:
1) use any bard skills for you
2) prevent the loss/breakage of an instrument
Future changes that I plan to implement:
1) a counter that tells you how many uses are left on your current instrument
2) a failsafe to prevent you from using a flute of renewal when it gets down to one remaining use
3) an automatic continuous area peace toggle
4) possibly add in extra options for a single miscellaneous slayer instrument.
Anyway, this is my first real, solid script, and as far as I could tell its the only one that does what it does.
Dying to get some feedback whether good or bad, so tell me what you think and any suggestions to improve it would be GREAT!