Tips about making npc appear on the Day/night cycle. and light

@Mr_Blvck , Looks like you are going to find this problem often in your game and you may need more complex conditions to activate or not a page, also having duplicated code and duplicated pages just because rpgmaker pages conditions are very limited is not a good development practice
I recommend you to use something like this
As said above, you need multiple event pages. and higher page numbers have higher priority.
so make the first page on 0 or higer, second page on 1 or higher, third page on 2 or higher and so on.
and as a result each page will only be active on exactly that number, because if the number goes higher the next page will have priority and become acctive
Understood, just one more time and i am good 🙂)
So if i create a new event (npc) On the top left at the conditional i just select 0 (morning) because i want that event to be visible just the morning and then in that page i add all the quests and stuff i need, and then after i create another 3 pages and on the same top left side i select the other values (1-2-3) and then i add something on the content page like erase event or?
Sorry if i don’t understand correctly
Th
@Mr_Blvck , Looks like you are going to find this problem often in your game and you may need more complex conditions to activate or not a page, also having duplicated code and duplicated pages just because rpgmaker pages conditions are very limited is not a good development practice
I recommend you to use something like this
Thank you very much , I will have a look at that
Double-post notice: @Mr_Blvck

In case you’re not familiar with this term, it refers to posting multiple times in a row. A single post can contain as many quotes and mentions as you need. If you ever forget one, there is an edit prompt at the bottom of each response.

1706531066893.png
Double-post notice: @Mr_Blvck

In case you’re not familiar with this term, it refers to posting multiple times in a row. A single post can contain as many quotes and mentions as you need. If you ever forget one, there is an edit prompt at the bottom of each response.

View attachment 293433
Oh, ok my bad, its just that i didn’t know how to reply to 2 different people so nobody get confused. I am sorry
There is nothing to be sorry for. I promise it’s not that deep. You can tag as many people as you need to with an @ symbol, such as @Mr_Blvck or you can select multiple messages to be quoted using the + quote feature and they’ll all populate in the “insert quotes prompt. You can @ or + for as many people as you need.

1706533135596.png


1706533185558.png
So if i create a new event (npc) On the top left at the conditional i just select 0 (morning) because i want that event to be visible just the morning and then in that page i add all the quests and stuff i need, and then after i create another 3 pages and on the same top left side i select the other values (1-2-3) and then i add something on the content page like erase event or?
Why would you have anything on the page that you don't want to do anything?

If your variable is 3 and you don't want an NPC there doing anything, the page should be entirely blank.
Why would you have anything on the page that you don't want to do anything?

If your variable is 3 and you don't want an NPC there doing anything, the page should be entirely blank.
Oh you right…now i am confused again…
Let me try first
It is normal that you are confused, it is completely counter intuitive to add an empty page to avoid executing another page.

Imagine having in you keyboard just the > key but not the < key and needing to workaround your formulas with a broken keyboard to be able to develop. You can get used to it of course and still accomplish stuff but it feels wrong.

RPGMaker is amazing (as a framework mostly) but it sometimes feels like for the sake of UI decisions in the editor the developers need to make really crazy hard to follow logic decisions.

Where the editor falls short, the community have some amazing plugins to help you with that.
then i add something on the content page like erase event or?
no, do NOT use erase event.
on the other pages you add what that NPC should be doing at that time - and if he is to not be there, then make it invisible by not selecting any sprite and priority = above.

Only add content if you want the event to do something at those times.
no, do NOT use erase event.
on the other pages you add what that NPC should be doing at that time - and if he is to not be there, then make it invisible by not selecting any sprite and priority = above.

Only add content if you want the event to do something at those times.
Thanks! I finally managed to do it and now i can work again, now the last problem remains, the lighting🙂
@orphalese If a user is having a hard time grasping the basic functions of the editor, it doesn't seem very sensible to keep recommending a plugin that introduces completely different and more complex syntax.
@orphalese If a user is having a hard time grasping the basic functions of the editor, it doesn't seem very sensible to keep recommending a plugin that introduces completely different and more complex syntax.
I have to agree here, I saw many potential plugins wich could be very useful to me like “shora lighting” ( I am not sure if is the right name) wich can help me with the lighting problem but there are many commands that i can barely understand and even if i understand wich and what command does , i still may have a hard time to build something that works. That’s why I need to go as simple as I can.

Anyway, the main reason of this thread is solved, in order to not create another thread and bother anyone, I would love if someone would give me a tip for that problem too or at least a basic mini-tutorial for ShoraLighting .
Thank you
@ATT_Turan Your point is fair. Sometimes I forget that we have people that is just playing around.

Anyway, I think it is better to explain people things instead of assuming they will not understand something and then they have the freedom to decide their options. My option may be more complex but is also more logical if you are going to start in the world of programming.

To be honest @ATT_Turan , and if you are ok to receive some feedback, there were already a couple of times in this forum that I feel you counter-attack anyone who thinks in a different way than you. You did the same to me not so long ago when I was looking for help and didn't use the solution you posted but the one another user posted.

I know I do the same, I'll appreciate if we can stop giving sarcastic emojis to each other and start treating each other as we can enrich this forum with different opinions instead of trying to see who is right and who is not.
To be honest @ATT_Turan , and if you are ok to receive some feedback, there were already a couple of times in this forum that I feel you counter-attack anyone who thinks in a different way than you.
I have no problem with people thinking in different ways from me. What you suggested is a fine solution for an advanced user. There is nothing I've said in this thread that is attacking.

But I think it's clear from reading this thread that the OP is not an advanced user, and such suggestions only serve to further confuse the issue (which truly should not have taken two pages of posts to resolve).

If you're displeased by my comments on a regular basis, you are perfectly welcome to Ignore me.
I have no problem with people thinking in different ways from me. What you suggested is a fine solution for an advanced user.
I disagree, I think my option makes easier page conditions because allows you to use the standard "if" from the page.

There is nothing I've said in this thread that is attacking.
You keep reacting with "sad" and "laughing" to my posts when there is nothing funny on them. C'mon man, we are adults.

If you're displeased by my comments on a regular basis, you are perfectly welcome to Ignore me.
Best advice ever. Have a good day
Yare yare, let’s not fight now 🙂
I can only thank you both for your tips as both were usefull and because of that i managed to solve the problem amd combine the Old system I had with a switch system. It works for now and i hope it will not get messy later when I will have more content.
orphalese that link you posted was also very useful and i will use it even if is a plugin, it’s quite easy to understand it so thanks.
Now I still have the problem on how i should put some lights around when evening/night switches are active.
You keep reacting with "sad" and "laughing" to my posts when there is nothing funny on them. C'mon man, we are adults.
Please tell me you aren't seriously offended by that.
Lets stop the sneering
Lets stop the sneering
I wasn't doing that. It was a legitimate question.

Original thread: https://forums.rpgmakerweb.com/threads/tips-about-making-npc-appear-on-the-day-night-cycle-and-light.165186/