MV Eli ChoiceManager help

I reached out to Eli already, but I didn't want to spam their wall with questions. I initially wanted colored highlight text in the choice window (not command), which I successfully accomplished with:
Code:
const choice = Eli.ChoiceManager.settings.choiceDefault
choice.textColor = "rgb(239,231,126)"

I'm unsure if there is a better way, but this works.

Now I'm trying to hide the blinking menu cursor, but I only see access to it from initial, so I attempted:
Code:
const initial = Eli.ChoiceManager.settings.initial
initial.cursorVisible = false;
initial.drawBackgroundRect = false;

No success. While the plugin states these two things are possible, it isn't clear at all how to do it. It also isn't available in the demo either. I've been literally deep diving the script and using the console to dig for information so I can figure out how it all actually works.
if its not in the demo, there is also a plugin to stop the cursor from blinking
entirely in all windows.

if Eliaquim did use it, it should be in the demo showcase or in the helpfile.
did you read the helpfile entirely?

cursor visible hide it, not stop it from blinking as there is a difference =)
if its not in the demo, there is also a plugin to stop the cursor from blinking
entirely in all windows.

if Eliaquim did use it, it should be in the demo showcase or in the helpfile.
did you read the helpfile entirely?

cursor visible hide it, not stop it from blinking as there is a difference =)
Yes, the documentation link is here:

It doesn't show any useful information other than the escape codes. The demo contains a scene that showcases what you can do with it. I needed it because it allows you to reposition the choice menu anywhere, including in windows like RM2K/3 used to. I'm grateful for it, because it does work! lol

However, it doesn't actually tell you how to do any of that, at all. You can scrounge up some script calls from the demo to reposition the window and place it inside text boxes to get started, but there was never any example showing how to change the window text color (which I did get working), or and example showing you how to hide the cursor.

I realize it has the option to hide it, and that's what I want. I want it hidden, I don't care if it blinks or not or if the update is never disabled, I just want the system window skin cursor opacity set to 0, and I want control of being able to turn it on and off.

It does say that this is a pro feature in the documentation as well, but his itch.io page also notes that all pro features are unlocked in the MV version (and digging through the script, it would appear that they are). I would have no problem paying for it if that was the case, but the plugin is somewhat broken. Everything works, but I had to do modifications to get everything to show up properly. The plugin parameters don't currently display correctly in RMMV without external modification for example.

Is there an alternative plugin that could hide the cursor? Again, I don't want blink speed control. I just want to be able to turn it's opacity on and off between different scenes. Where I'm using the text color highlight, and not.
the demo has a showcase how it shows up, the event is to check how its done.
the plugin helpfile is different and may be the same, but you can also show
screenshots how it looks like, as the entire event screenshot (no cropping) tells
us more than words can give.

otherwise @Eliaquim the author can guide you if you did post on his thread.
so hopefully he can help you, but if he can't and stay with MZ support only,
than I could check what you miss.

so have a little patient to see if he response 🙂
Hi there!

Unfortunatelly, I'm not supporting the MV version of this plugin(or any other MV plugin) anymore. I just made a quick test, and indeed the cursor visibility change is not working.

Try to add this code on the plugin:

JavaScript:
Window_ChoiceList.prototype.isCursorVisible = function() {
    return Plugin.getInitialSettings().cursorVisible
}

Add it after the line 2598.

1761687800873.png


The visibility code should work.

besides that, on the sample project, event 22 are all the script calls you need/have to change the choice behavior.

"The plugin parameters don't currently display correctly in RMMV without external modification for example"
- Didn't understand that. The plugin has only one parameter:
1761687940734.png


but there was never any example showing how to change the window text color (which I did get working), or and example showing you how to hide the cursor.
- Event ID 5 on the sample project has examples of how to change the text color of a choice text.
Try to add this code on the plugin
This was perfect, it works exactly as intended. You're my hero!

Event ID 5 on the sample project has examples of how to change the text color of a choice text.
I had a quick look at this, but using:
Code:
var choice = Eli.ChoiceManager.settings.choices[index]
Didn't work. I assume this works just fine in RMMZ, I dug through the code and found the commands in choiceDefault, I used that and it works as intended. I just wasn't sure if this was going to cause me any grief down the road.

Didn't understand that. The plugin has only one parameter

pluginex.png

You had all these disabled, was this the intended behavior then? If so, that's fine, but it would have made life 1000 times easier if you had listed the script calls in the document instead of the example game. I realize that works, but having to dig through all of that was what caused some frustration to begin with. I wasn't aware that event 5 even had that information because it causes that scene to crash in RMMV.

Thanks for the quick response though, you saved the day in the end. 🙂
Didn't work. I assume this works just fine in RMMZ, I dug through the code and found the commands in choiceDefault, I used that and it works as intended. I just wasn't sure if this was going to cause me any grief down the road.
- It indeed did not work... strange =/. Sorry about that. RMMZ Code is totally different. This choice manager version is too outdated compared with MZ.

You had all these disabled, was this the intended behavior then?
- Yes, it is. All of this from the screenshot does nothing on the plugin. I probably forgot to remove it from there. These stuff was for the initial versions of MZ a long time ago.

but it would have made life 1000 times easier if you had listed the script calls in the document instead of the example game
- Yeah, I know that, you are right. That was one of the reasons I stopped supporting my MV plugins. This one was too complex to be using script calls. The MZ plugin command system was best to handle this plugin. If I had continue the support, I will for sure updated the help file with all of these script calls.

But I dropped the support of the MV plugins a long time ago... =/

Glad that at least I manage to solve one of your problems ^^''
- Yeah, I know that, you are right. That was one of the reasons I stopped supporting my MV plugins. This one was too complex to be using script calls.
Oddly enough, that's why it works so great for my needs. lol

It allows me to pretty much fully customize every single choice option how I want it to be, with colors, without, now with cursor, without, in message, etc. It's fantastic!
Hey Eli, sorry for such a late response. I've been meaning to repost to this and keep forgetting. I've discovered a new problem, while your solution did solve the colored text issue, I didn't realize until much later that the selection is broken now.

I put in a script to check if save files existed, and if so, default to selection 2 as I'm using it for a custom menu. I thought at first that this was because I was using a map as a title screen...maybe... but later realized it was happening to all choice lists. Setting the cancel option no longer works either, like if default cancel command is 2, or changed to 4, it will always default to option 1.

Is it possible to request a fix for this?
Can you show to me an event with a setup that reproduces that behavior?
Can you show to me an event with a setup that reproduces that behavior?
Hey Eli, I apologize. It appears starting position is working I must have borked something on my title screen. I'll have to look into that.

However, cancel definitely isn't working but perhaps it may be user error?

I'm just gonna copy and paste as RM text:
Code:
◆Text:None, Window, Bottom
:    :test
◆Show Choices:Yes, No, exit (Window, Right, #2, #3)
:When Yes
  ◆Text:None, Window, Bottom
  :    :option 1 selected
  ◆
:When No
  ◆Text:None, Window, Bottom
  :    :option 2 selected
  ◆
:When exit
  ◆Text:None, Window, Bottom
  :    :option 3 selected
  ◆
:End

This is what I'm testing, pressing cancel inputs as ok instead, so no matter what option I'm on, if I press escape it will input as ok and select the highlighted option instead of going to option #3 as indicated in the event. This is without using your scriptcall at all.

I tested with this:
Code:
const choice = Eli.ChoiceManager.settings.choiceDefault
choice.textColor = "rgb(239,231,126)"
choice.cursorColor = [255,0,0,255]
const initial = Eli.ChoiceManager.settings.initial
initial.align = {1:"left", 2:"center", 3:"right"}[2]
initial.cursorVisible = false;
initial.drawBackgroundRect = false;
const pos = Eli.ChoiceManager.settings.position
pos.alignX = {1:"none", 2:"left", 3:"center", 4:"right"}[3]
pos.alignY = {1:"none", 2:"top", 3:"center", 4:"bottom"}[4]
pos.inMessage = false
pos.offsetX = 0
and the results are the same. Choice selection goes to appropriate selected one (tested options 1 and 2), cancel is input as ok.

I do wonder though if it could have something to do with the position of your plugin, as I have it pretty high in my list, but I don't actually know where it belongs. Should it be coming after Yanfly message core, have you tested it with any other popular plugins?

[edit]
Also, I just turned your plugin off to test and cancel works as intended.
Hmm, I manage to replicate the error.
Tried to take a look into the code to see if I could find the problem fast, but didn't. I would have to do a better looking at it.
But it's like I told you before. Not supporting MV anymore... So I will pass that.

Alternativelly I did find a workaround. Just created a Choice Command using the branch as cancel behavior:
1762928597592.png


Hope it helps!
Yeah, I'm good with this. I didn't think of that, or even realize that this was an option. I'll have to go back to every choice list now, but that's okay. I was doing everything pretty customized anyway.

Thanks!

[edit]
If anyone ever stumbles across this and needs to use it and still wants to be able to use specific options, this is still possible through the event system by setting a label and jumping to that label from cancel.

Original thread: https://forums.rpgmakerweb.com/threads/eli-choicemanager-help.180726/