<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.yanfly.moe/wiki/index.php?action=history&amp;feed=atom&amp;title=Switches_Based_on_Options_Settings</id>
	<title>Switches Based on Options Settings - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.yanfly.moe/wiki/index.php?action=history&amp;feed=atom&amp;title=Switches_Based_on_Options_Settings"/>
	<link rel="alternate" type="text/html" href="http://www.yanfly.moe/wiki/index.php?title=Switches_Based_on_Options_Settings&amp;action=history"/>
	<updated>2026-05-04T02:21:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.2</generator>
	<entry>
		<id>http://www.yanfly.moe/wiki/index.php?title=Switches_Based_on_Options_Settings&amp;diff=15720&amp;oldid=prev</id>
		<title>Arisu at 02:20, 9 January 2024</title>
		<link rel="alternate" type="text/html" href="http://www.yanfly.moe/wiki/index.php?title=Switches_Based_on_Options_Settings&amp;diff=15720&amp;oldid=prev"/>
		<updated>2024-01-09T02:20:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 02:20, 9 January 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l35&quot; &gt;Line 35:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== What You Need To Do &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=&lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== What You Need To Do ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Step 1 ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Step 1 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l106&quot; &gt;Line 106:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 106:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== End of &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;File &lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== End of &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Article &lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;html&amp;gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;https://www.free-counters.org/count/dmas&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &amp;lt;a href='https://www.acadoo.de/'&amp;gt;Ghostwriter Masterarbeit&amp;lt;/a&amp;gt; &amp;lt;script type='text/javascript' src='https://www.whomania.com/ctr?id=807ea47bc5305eb6efc8fb40905c2417b30f5d7b'&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/html&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arisu</name></author>
		
	</entry>
	<entry>
		<id>http://www.yanfly.moe/wiki/index.php?title=Switches_Based_on_Options_Settings&amp;diff=15719&amp;oldid=prev</id>
		<title>Arisu: Created page with &quot;{{TOCright}} {{Hide Sidebar}}  {| style=&quot;width: 800px;&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; | style=&quot;width: 100%; vertical-align: top;&quot; |  == Introduction ==  File:SwitchOptions...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.yanfly.moe/wiki/index.php?title=Switches_Based_on_Options_Settings&amp;diff=15719&amp;oldid=prev"/>
		<updated>2024-01-09T02:20:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{TOCright}} {{Hide Sidebar}}  {| style=&amp;quot;width: 800px;&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; | style=&amp;quot;width: 100%; vertical-align: top;&amp;quot; |  == Introduction ==  File:SwitchOptions...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{TOCright}}&lt;br /&gt;
{{Hide Sidebar}}&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| style=&amp;quot;width: 100%; vertical-align: top;&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
[[File:SwitchOptions1.png|600px]]&lt;br /&gt;
&lt;br /&gt;
Want to know how to set a Switch condition to ON/OFF based off what setting an option command is using?&lt;br /&gt;
&lt;br /&gt;
This will be a TL;DR article without all the fluff text.&lt;br /&gt;
&lt;br /&gt;
{{Article by Arisu}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What You Need ==&lt;br /&gt;
&lt;br /&gt;
=== RPG Maker MV Users ===&lt;br /&gt;
&lt;br /&gt;
[[File:YEP.162.jpg|300px|link=Advanced Switches &amp;amp; Variables (YEP)]]&lt;br /&gt;
&lt;br /&gt;
If you are using [[RPG Maker MV]], install the [[Advanced Switches &amp;amp; Variables (YEP)|Advanced Switches &amp;amp; Variables]] plugin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RPG Maker MZ Users ===&lt;br /&gt;
&lt;br /&gt;
[[File:VisuMZ.005.jpg|300px|link=Events and Movement Core VisuStella MZ]]&lt;br /&gt;
&lt;br /&gt;
If you are using [[RPG Maker MZ]], install the [[Events and Movement Core VisuStella MZ|Events &amp;amp; Movement Core]] plugin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What You Need To Do ===&lt;br /&gt;
&lt;br /&gt;
=== Step 1 ===&lt;br /&gt;
&lt;br /&gt;
[[File:SwitchOptions2.png]]&lt;br /&gt;
&lt;br /&gt;
First, identify the options command you want to bind to a switch.&lt;br /&gt;
&lt;br /&gt;
Let's use the example '''Always Dash''' because it's available to both [[RPG Maker MV]] and [[RPG Maker MZ]] users.&lt;br /&gt;
&lt;br /&gt;
You can do this by looking in the '''rpg_managers.js/rmmz_managers.js''' file in your /js/ folder.&lt;br /&gt;
&lt;br /&gt;
Do a CTRL+F for &amp;quot;ConfigManager&amp;quot; and look at the parameters available.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 2 ===&lt;br /&gt;
&lt;br /&gt;
[[File:SwitchOptions3.png]]&lt;br /&gt;
&lt;br /&gt;
Next, create a new Switch using the plugin you've installed.&lt;br /&gt;
&lt;br /&gt;
Name it as such:&lt;br /&gt;
&lt;br /&gt;
* '''RPG Maker MV Users:''' Eval: ConfigManager.alwaysDash&lt;br /&gt;
* '''RPG Maker MZ Users:''' &amp;lt;nowiki&amp;gt;&amp;lt;JS&amp;gt; ConfigManager.alwaysDash &amp;lt;/JS&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Step 3 ===&lt;br /&gt;
&lt;br /&gt;
[[File:SwitchOptions4.png]]&lt;br /&gt;
&lt;br /&gt;
Finally, use it as a switch condition in either a conditional branch switch or event page condition switch.&lt;br /&gt;
&lt;br /&gt;
If the option is OFF, the switch will be OFF/false. If the option is ON, the switch will be ON/true.&lt;br /&gt;
&lt;br /&gt;
That's it!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Find Options from Options Core ==&lt;br /&gt;
&lt;br /&gt;
[[File:VisuMZ.010.jpg|300px|link=Options Core VisuStella MZ]]&lt;br /&gt;
&lt;br /&gt;
If you are using the [[Options Core VisuStella MZ|Options Core]], for either [[RPG Maker MV]] or [[RPG Maker MZ]], and you are wondering what to use for that instead of '''ConfigManager.alwaysDash''', here's how you can find out.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:SwitchOptions5.png]]&lt;br /&gt;
&lt;br /&gt;
# Look at the option you want to get the replacement text for&lt;br /&gt;
# Look at the '''Symbol''' parameter&lt;br /&gt;
# Take the text used for that and replace '''alwaysDash''' in '''ConfigManager.alwaysDash''' with it&lt;br /&gt;
# Case sensitive, if you capitalize someone or lowercase something, it won't work&lt;br /&gt;
# Something like '''showCompass''' will be inputted as '''ConfigManager.showCompass''' in the switch name&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Minor Notes ==&lt;br /&gt;
&lt;br /&gt;
Some things like volume and encounter rates may not use ON/OFF cases, but instead, use numbers. In that case, instead of a switch, use a variable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
That's it. Nothing terribly special or verbose but a helpful technique for those who may be doing things that may be directly tied to options configurations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== End of File ==&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Arisu</name></author>
		
	</entry>
</feed>