Show Choices Cursor Memory

ChoiceCursorMemory v1.0
Elle Trudgett
​

Introduction
Remembers the cursor position for the [Show Choices] command window. This is useful when you want to make multiple selections from the same choice list so you don't have to scroll down from the default position each time. It is also a nice quality of life feature when designing menus with submenus e.g. a simulated computer system, so that when you back out of a menu, your cursor is on the option that you went into.

Features
  • Supports nested [Show Choice] commands (including if that nesting comes from running a common event from within a [When] command, etc.)
  • When backing out of a nested [Show Choice] command, going back into it reverts back to its original default.
  • The "Cancel" function (e.g. Escape key) does not save the cursor position.
  • The cursor will not be remembered if the script finishes and is retriggered, only during the current script (during loops, etc.)
  • Compatible with Message Core VisuStella MZ's Extended Choice Lists.

Limitations
  • Dynamically changing the menu items that are visible e.g. with Message Core VisuStella MZ's Show/Hide Choice Window Text Codes can make the cursor default to a different option (due to the options shifting around, and the cursor memory is done by choice index) but isn't game-breaking.
  • No plugin parameters or commands to customize behavior

Screenshots

Default behavior, before installing plugin:



Behavior, after installing plugin:


How to Use
Download and add the plugin into your project via the Plugin Manager. It will automatically take effect on all choice command windows.

Plugin Commands / Script Calls
None

Demo
Fairly plug and play, no demo project unless requested

Download

Terms and Credits
Free to use for any purposes, but do not sell it or claim it as your own. Please report any bugs to me.
nice plugin! does it work with MV? can u make one that does? 😅
nice plugin! does it work with MV? can u make one that does? 😅
Thanks! I’m not sure if it works with MV, I haven’t tried it. But it’s a fairly simple plugin so it might just work. I would have to reinstall MV to test that out
It might work for 1.6.x only, as version of MV of 1.5.x or lower wont work,
as it uses ES6 syntax.

if it doesn't work, it needs a small modification in order to work which
is minor so far I could see it 🙂

I dont have use or what usefull it could have.
as it mind be usefull for games using alot of choices or need to go back
and forth that makes the progress easier.

but keep up the good work.

Original thread: https://forums.rpgmakerweb.com/threads/show-choices-cursor-memory.153841/