ILB_DefaultChoices v1.0.0
I_LIKE_BREAD7
Introduction
This plugin allows you to set the default selected choice with a variable, or remember a previously selected choice.
Features
Setting the default choice with a variable.
When using a variable the first option is indicated by the number 0, the second as 1 etc.
Remembering a previously selected choice and either saving it to a variable, or applying it directly to the choice (no variable needed).
If the selected choice is the same as the cancel option it will not be remembered to allow a "Cancel" or "Quit" option.
If there is no previously remembered option, the default selected in the editor will be used. Otherwise the default from the editor will be ignored.
The only other choice modifying plugin I tested it with was the ALOE_ConditionalChoices plugin, so it definitely works with that, but I can't guarantee it working with any other plugins.
Screenshots
A setting like this:
Will result in the third option being the default choice.
This:
Will result in the choice being remembered, and the choice will be set to the previously selected value the next time the same choice is shown.
How to Use
Put it in the plugins manager and set the "Default choice variable ID" parameter to the id of the variable you want to use, or 0 to not use the variable (this will make the "set" and "save" plugin commands to not work).
Plugin Commands
ILB_DefaultChoices set - sets the default choice to the variable's value
ILB_DefaultChoices save - saves the selected choice to the variable
ILB_DefaultChoices remember name - remembers the selected choice with a name (no spaces allowed), all choices with the same name will have the same value
ILB_DefaultChoices remember - remembers the selected choice with an auto generated name (mapId_eventId_index), in case of collisions specify a name (or if you want several different choices to share the same default value)
ILB_DefaultChoices reset set - cancels the set plugin command
ILB_DefaultChoices reset save - cancels the save plugin command
ILB_DefaultChoices reset - cancels both the save and set plugin commands
Download
github.com
I also have a bunch of other plugins in the same repository if you would like to check them out (all on the same terms)
github.com
Terms and Credits
The plugin can be used for any purpose (free, commercial, editing, redistribution modified or unmodified).
Credit is welcome but not required. If you want to credit, credit me as I_LIKE_BREAD7 or ILikeBread7 (I use these interchangeably, but the version with the underscores is preferred if possible).
I_LIKE_BREAD7
Introduction
This plugin allows you to set the default selected choice with a variable, or remember a previously selected choice.
Features
Setting the default choice with a variable.
When using a variable the first option is indicated by the number 0, the second as 1 etc.
Remembering a previously selected choice and either saving it to a variable, or applying it directly to the choice (no variable needed).
If the selected choice is the same as the cancel option it will not be remembered to allow a "Cancel" or "Quit" option.
If there is no previously remembered option, the default selected in the editor will be used. Otherwise the default from the editor will be ignored.
The only other choice modifying plugin I tested it with was the ALOE_ConditionalChoices plugin, so it definitely works with that, but I can't guarantee it working with any other plugins.
Screenshots
A setting like this:
Will result in the third option being the default choice.
This:
Will result in the choice being remembered, and the choice will be set to the previously selected value the next time the same choice is shown.
How to Use
Put it in the plugins manager and set the "Default choice variable ID" parameter to the id of the variable you want to use, or 0 to not use the variable (this will make the "set" and "save" plugin commands to not work).
Plugin Commands
ILB_DefaultChoices set - sets the default choice to the variable's value
ILB_DefaultChoices save - saves the selected choice to the variable
ILB_DefaultChoices remember name - remembers the selected choice with a name (no spaces allowed), all choices with the same name will have the same value
ILB_DefaultChoices remember - remembers the selected choice with an auto generated name (mapId_eventId_index), in case of collisions specify a name (or if you want several different choices to share the same default value)
ILB_DefaultChoices reset set - cancels the set plugin command
ILB_DefaultChoices reset save - cancels the save plugin command
ILB_DefaultChoices reset - cancels both the save and set plugin commands
Download
rpg-maker-stuff/mv/ILB_DefaultChoices.js at main · ILikeBread7/rpg-maker-stuff
Some RPG Maker plugins I made. Contribute to ILikeBread7/rpg-maker-stuff development by creating an account on GitHub.
rpg-maker-stuff/mv at main · ILikeBread7/rpg-maker-stuff
Some RPG Maker plugins I made. Contribute to ILikeBread7/rpg-maker-stuff development by creating an account on GitHub.
Terms and Credits
The plugin can be used for any purpose (free, commercial, editing, redistribution modified or unmodified).
Credit is welcome but not required. If you want to credit, credit me as I_LIKE_BREAD7 or ILikeBread7 (I use these interchangeably, but the version with the underscores is preferred if possible).