I am relatively new to the engine and I am currently working on a game project that has some point-and-click mechanics. I want to create a character NPC that I can interact with upon clicking on their designated character icon on screen. I am using the buttonpicture plugin, it lets me link a common event to said picture but the problem with common events I have is that I can't really use (self) switches there, can I? Like I could in regular events with additional event pages. I would like my character to use different event scripts/pages depending on their relationship status dictated by a variable but since common events don't have the option to add multiple event pages, I am kinda at a loss here. I don't understand why the plugin forces me to only use common events and not also "regular" events.
I've read that I could work around that issue by linking multiple common events within common events which will go through some conditional branches/variables
if variable1 = 1
-> proceed with common event 1;
else
use common event 2
(excuse my lack of java-script writing knowledge but I hope you get the point either way)
Now I have also heard that linking common events within common events doesn't always work, so the safest way might be to include all the different dialogue branches and variables within one common event script? Instead of splitting them up in multiple common events?
I am fine with doing that but I am just wondering if there is a more efficient way to work around it.
Any feedback is much appreciated 🙂
I've read that I could work around that issue by linking multiple common events within common events which will go through some conditional branches/variables
if variable1 = 1
-> proceed with common event 1;
else
use common event 2
(excuse my lack of java-script writing knowledge but I hope you get the point either way)
Now I have also heard that linking common events within common events doesn't always work, so the safest way might be to include all the different dialogue branches and variables within one common event script? Instead of splitting them up in multiple common events?
I am fine with doing that but I am just wondering if there is a more efficient way to work around it.
Any feedback is much appreciated 🙂