[solve]more self switch base game event page trigger

use hime page condition to do it
https://forums.rpgmakerweb.com/index.php?threads/custom-page-conditions.47085/

--------------------------
I find this from reddit
Yes. You can add as many self-switches you want with script calls. If you want a self-switch "E" then you can put something like this in an event. True for on, false for off.

$game_self_switches[[@map_id, @event_id, "E"]] = true

$game_self_switches[[@map_id, @event_id, "E"]] = false

Then you can check that with a script call condition on any conditional branch in your script with this for if the switch is on.

$game_self_switches[[@map_id, @event_id, "E"]]

And this for off.

!$game_self_switches[[@map_id, @event_id, "E"]]

I'm curios if I can set or check self switch that beyond 'D'
can I have another event page that depend on 'E'/'Z' etc trigger?
because now I'm mod some other author ABS plugin
to add some effect in my game
and I use all A-D slot with game self swith set in his code
D - died
A - poisoning(dmg overtime)
C - damage scream(SE)
B - battle on(start Ai sensor)
but... it never enough - -*


I had yanfly self switch plugin
but don't know how to call it in other author plugin
and I guess...it will not work right?(try some myself not work)

thank you

edit
now how I mod is like this

Code:
        var key = [char._mapId, char._eventId, 'A']//poison
        $gameSelfSwitches.setValue(key, false);
I want to trigger page 'Z' instead
is there a way?
Yes, you can. But you just won't be able to use them in the standard self switch commands or conditions.
You will need a plugin that allows customized page conditions, these normally utilize the "comments" event command to set the condition.
Thank you

Original thread: https://forums.rpgmakerweb.com/threads/solve-more-self-switch-base-game-event-page-trigger.106573/