RPG Maker Forums

UPD: SOLVED—see the solution below.


I'm writing a plugin to control self-switches remotely from other events. It's already working pretty well.


Although, I'd like to add a debug message whether an event, which self-switch I want to change to, does not have that specific self-switch.


In other words:


1) Plugin Command in Event1 says 'ChangeSelfSwitch Event002 A' (it's shorter actually),


2) Event2 does not have this A self-switch


3) An alert with 'Event002 does not have A switch' appears.


Could you please advise what should I write in IF statement for the above to happen?
Thank you!

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,038
Messages
1,018,466
Members
137,821
Latest member
Capterson
Top