#author("2026-06-18T07:25:46+09:00","default:admin","admin")
#author("2026-06-18T07:27:15+09:00","default:admin","admin")
''[[Beginner Tutorial INDEX:https://rpgbakin.com/pukiwiki_en/?RPG+Developer+Bakin+Beginner+Tutorial]]>>''	
*Event Switches [#ff82a2ee]
''This section explains “Event Switches,” which are frequently used to manage game progression.''

**Using Event Switches as Activation Conditions [#df91dca0]
''An Event Switch is a mechanism in the game that can be set to ON or OFF.''
(An Event Switch is essentially a variable. If the variable used as an Event Switch has a value of "0", it is considered OFF; if it has a value of "1" or anything else, it is considered ON. See the separate page [[About Variables]] for more details.)

Take a look at the example in the diagram below.
#ref(./Event Switches_4.jpg,40%)
#ref(./Event Switches_4.jpg,60%)
#br

If Event B is set to activate when Switch A is ON, and Event C activates when Switch B is ON:
- Turning ON Switch A in Event A will trigger Event B.
- Turning ON Switch B in Event B will trigger Event C.

For example, you can control a sequence where: After speaking to Person A, you can then talk to Person B, and after speaking to Person B, Person C becomes available. This is managed using Event Switches.

If you think of the “Events” shown in the diagram as “Event Sheets,” this also helps illustrate how Event Switches can be used to switch between Event Sheets.

**Branching with Event Switches [#b7c3f741]
''Using the event panel [[Check Event Switch]], you can create branches based on the ON/OFF status of Event Switches.''
''Using the event panel [[Check Event Switch:https://rpgbakin.com/pukiwiki_en/?Conditional+Judgment#s1c821d6]], you can create branches based on the ON/OFF status of Event Switches.''

For example, if the “Talked to Elderly Man” switch is ON, you’ll receive an item; if it’s OFF, you won’t receive anything.
#ref(./Event Switches_1.jpg,40%)
#br


''Event Switches can also be used to determine which selections are shown in events with options.''

In the [[Select from Selection and Check Results]] panel, you can use Event Switches as the “Display Conditions” or “Enabling Conditions.”
In the [[Select from Selection and Check Results:https://rpgbakin.com/pukiwiki_en/?Conditional+Judgment#dc6dde9e]] panel, you can use Event Switches as the “Display Conditions” or “Enabling Conditions.”
This allows you to control things like: “If a certain event has been cleared, then show this selection.”
#ref(./Event Switches_2.jpg,40%)
#br

**Toggling Display with Event Switches [#i154ed02]
''In the [[Layout Tool]], you can use Event Switches as [[Display Condition Switch]] to control whether UI elements are shown on the screen.''

For example: “If a certain event has been cleared, show this menu element and make it selectable.”
#ref(./Event Switches_3.jpg,40%)
#br

**The True Identity of Event Switches [#x36ab210]
''Event Switches are actually just variables.''
In Bakin, variables that are used solely for ON/OFF purposes are called “Event Switches” to make them easier to understand.
See the page [[About Variables]] for more information.

----
//''&size(16){Next: [[Creating a Map 2:https://rpgbakin.com/pukiwiki_en/?Creating+a+Map+2+%28Beginner+Tutorial%29]]};''
''&size(16){Previous: [[Creating an Event 3:https://rpgbakin.com/pukiwiki_en/?Creating+an+Event+3+%28Beginner+Tutorial%29]]};''
----
''[[Beginner Tutorial INDEX:https://rpgbakin.com/pukiwiki_en/?RPG+Developer+Bakin+Beginner+Tutorial]]>>''

Front page   Edit Diff History Attach Copy Rename Reload   New Page list Search Recent changes   Help   RSS of recent changes