Very nice, but I don't understand how this would be called from within an event. How do you set out the [When] processing associated with each choice, since that's usually created by the Show Choices command itself. Can you provide a screenshot of an event that uses this (the whole event command window, with the choices and the subsequent processing)?
Can this be used in commercial games? Does it require Raizen884's script and do you both need to be credited?
Love it! I'll keep an eye on this (as to when it's available for use commercially) - it could really come in handy in my game.
This looks pretty handy. I'm wondering though, in the screenshot you set the color of the disabled choice, leading me to believe the script call to disable a choice doesn't change the color of a choice (graying it out), only blocks the selecting (or activating) of this choice. Is this true?
Yes, a choice's color will only be set if it is enabled.
Otherwise it will default to the disabled color.
Very great script ! Thank you very much !!! 👍
Script updated with a new choice option
Method: text_choiceEffect: Sets the text of the choice to the custom text.Usage: Takes a string that will replace whatever you place in the choice editor. This allows you to exceed the 50-char limit.The built-in choice editor only allows you to type in 50-characters.This option allows you to specify longer strings using a script call, if you need the space.
Could you give me examples of how this can be used?
I usually write scripts without any particular use in mind.
I don't know when people might want to hide a choice until a condition has been satisfied (for example, if a switch is ON/OFF or if an actor is in the party).
It's one of those things where when you'll need it you'll realize why it's useful.
Clever, and certainly a useful idea. It may benefit greatly in situations where you'd need multiple 'if' branches duplicated to achieve a similar effect.
I have fixed the issue, thanks for the report.
The problem occurred for every set of choices even without large choices: the last choice would never be colored because I was grabbing data that never existed.
great script! i just downed large choices and was hoping for something that allowed me to cut back on copious conditional branches >.<
I seem to get a bug with the large choices script when I try
hide_choice(5, "s[1]==true")
The 5th choice does not disable? (works on first 4 however)
color_choice(num, color_id) does work however.
Is switch 1 ON?
Does this occur in a new project?