Eli Self Switches - Adds more self switches to events and better control for all of them!

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,286
Reaction score
1,779
First Language
Portuguese - Br
Primarily Uses
RMMZ
ly2FsEm.png

Author: Hakuen Studio

Introduction

You know that you can enable/disable self switches from an event page. But if you want to turn on/off a self switch of other events you will have to use the script call. The thing is that not everyone is familiar with the script call command.

This plugin enables you to turn on/off the self switch of other events
(even more than one) with a simple and easy plugin command!
Also, add new self switches to events!

Features

● Turn on/off/toggle self switches of one or more events with a plugin command.
● Add more self switches to events.

How to use

To use more self switches than the default ones(A, B, C, D) you have to name a regular switch like that: "SS: E"(without quotes, it's not case sensitive).
JvHt9XD.png


You can use it in page conditions too.
UU5U3cX.png


You can check the value like any other self switch in the conditional branch script call:
$gameSelfSwitches.value([1, 12, "E"])

Then if you want to activate the new self switch "E", use the plugin command and just put "E" in the self switch field.
4rDwiXh.jpg


The plugin command also has a delay argument. If it is greater than zero, then the self switch will change its value according to the delay set(frames, seconds, or minutes).

Update Log
Version 3.1.3 - 11/08/2021
- Fixed a typo that was causing a crash when using the script field of the plugin command.
Version 3.1.2 - 10/28/2021
- Fixed a bug that even with the delay set to 0, the plugin command was delaying the change of the self switch a little bit.
Version 3.1.1 - 10/22/2021
- Fixed a bug that the script calls on the plugin command was not giving the context of the "this" keyword to the current event running the plugin command.
Version 3.1.0 - 10/18/2021
- Add a new argument in the plugin command that lets you change the value of the self switch using a script call.
Version 3.0.0 - 08/09/2020
- Now you can turn self switches with a delay in frames, seconds, or minutes.
- Adapted to work with Eli Book 4.0.0.
Version 2.1.0 - 07/23/2021
- Add an option to change various self switches values at the same time.
Version 2.0.0 - 12/18/2020
- Adapted to work with Eli Book 3.0.0.
Version 1.0.1 - 11/24/2020
- Code clean up.
Version 1.0.0 - 11/14/2020
- Plugin release!
 
Last edited:

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,286
Reaction score
1,779
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 2.0.0 - 12/18/2020
- Adapted to work with Eli Book 3.0.0.
 

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
447
Reaction score
79
First Language
Spanish
Primarily Uses
RMMV
Decided to try it on MV using RETRO, but I'm not sure whether it's a compatibility issue or I just doing smth wrong
1623671421647.png
1623671438028.png
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,286
Reaction score
1,779
First Language
Portuguese - Br
Primarily Uses
RMMZ

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,286
Reaction score
1,779
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 2.1.0 - 07/23/2021
- Add an option to change various self switches values at the same time.
plugin command 2.PNG
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,286
Reaction score
1,779
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 3.0.0 - 08/09/2020
- Now you can turn self switches with a delay in frames, seconds, or minutes.
- Adapted to work with Eli Book 4.0.0.
4rDwiXh.jpg
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,286
Reaction score
1,779
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 3.1.0 - 10/18/2021

- Add a new argument in the plugin command that lets you change the value of the self switch using a script call.

1.JPG
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,286
Reaction score
1,779
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 3.1.1 - 10/22/2021
- Fixed a bug that the script calls on the plugin command was not giving the context of the "this" keyword to the current event running the plugin command.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,286
Reaction score
1,779
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 3.1.2 - 10/28/2021
- Fixed a bug that even with the delay set to 0, the plugin command was delaying the change of the self switch a little bit.
 

Latest Threads

Latest Posts

Latest Profile Posts

Sizzle sizzle sizzle...
zbf1dCZ.gif
Sharing my past was a mistake. Will delete the post when I get access to a working internet connection again.
TFW you get a plugin working correctly with your other plugins ♡\( ̄▽ ̄)/♡

(CW for minor gore - Einar's Y incision is gone for his test portrait)

Cs5kAbZ.png
Doing some winter related edits for a cozy cottage!
I think it's the third time I am changing my skill info plugin, but as I get better at programming, I want to fix the trash I made earlier :p

Streaming while I am programming the plugin. Join in if you wish :)

Forum statistics

Threads
116,981
Messages
1,103,496
Members
152,845
Latest member
Zynarith2
Top