Show Choices Cursor Memory
ChoiceCursorMemory v1.0Elle Trudgett
Introduction
Remembers the cursor position for the 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 commands (including if that nesting comes from running a common event from within a command, etc.)
[*]When backing out of a nested 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
[*]Pastebin
[*]Github (Gist)
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.
本贴来自国际rpgmaker官方论坛作者:ElleTrudgett处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/show-choices-cursor-memory.153841/
页:
[1]