About Racheal's Dynamic Title and making a variable for a script?

Hello again everyone! I have returned with another problem, and I'm really sorry for clogging the front page with my threads 😐

On the thread for the Dynamic Title script, Kes makes a comment that I get confused about:

At the point you want the image to change, do an event which increases the variable you designated in line 27 by one. And that's it. You don't need to do anything else. The image will move to the next one in the list you provided at lines 40/41

When I make an event, how do I actually increase the variable for the script? Can someone make an event showing how to do this and screenshot it for me? I'm more of a visual person than a text person. I feel pretty guilty asking, it feels like someone doing my homework for me haha, but I really don't know a lot about variables. I've been doing okay in my game so far for someone who's been working on it on-and-off for a few months now, but I had the bright idea to make my title screen images change several times when I hit certain points in the game, and I just don't know how to go about doing it/incorporating it.

I'm really sorry for asking for so much help lately, I hope it's not annoying anyone, and I hope I can get some help. Please and thank you 😍
That's basic eventing with variables. You should probably go over Andar's guide for beginners if you don't know how to do that, and it has more of the screenshots you want. A link to it is in my signature at the bottom of this post.
The script uses one of the game variables. So you just use Control Variables to increase it by 1, which will cause the script to display the next title image.

Also, the rule about necroposting does not apply in the scripts forums. If you have a question about an existing script, you can just post it in the thread for that script - no need to create a new thread and link back to the script. Unless your question really isn't about the script but you're just noting that you're using it.
This was the only way I could figure out how to increase the variable, as I looked at the guide that was linked but... I just don't understand it. And what I tried doesn't work 🙁

I'm really sorry, I have severe ADHD and I don't grasp certain things easily. I'm trying to not use it as an excuse, I just wanted to explain why I don't seem to get something that... everyone else seems to understand so easily.

Also, thank you for letting me know that it won't necro if I post there. I may as well stick to this thread though, since I started it and all.
No.

You modify the script to put in your image names. The variable starts at 0 by default, which refers to the first element of each array.

Code:
  BACKGROUND_NAMES = ["Volcano", "Night"]
  FOREGROUND_NAMES = ["Gargoyles", ""]

means when the variable is set to 0, it will use the Volcano background with the Gargoyles foreground. When the variable is set to 1, it will use the Night background, and no foreground image.

So for each different "version" of the title screen, you will have an extra entry in each of the BACKGROUND_NAMES and FOREGROUND_NAMES arrays in the script.

Because the variable is set to 0 by default, it will always start with the first one in each list.

When you are ready for it to show the second image, use a Control Variables to += 1 to the variable. Then when you are ready for it to show the third image, use a Control Variables += 1 to the variable again. Or you can simply use Control Variables and set it to the number you want to use, rather than += 1 each time.

So your second line is correct, your first is not.
My issue seems to be that I don't know how to get "grouptitlescreen" to be connected to the images, which is what I was trying to do. Why is the first line incorrect/how do I get the variable to know what I'm talking about? Is there a place in the script that identifies it that I missed?
Since your variable "grouptitlescreen" is nr. 7, you need change this line:
Code:
TITLE_VARIABLE = 5
to
Code:
TITLE_VARIABLE = 7

Edit: Also moving this to the correct forum.
Sorry about it being in the wrong forum. Thank you so much however, changing it to a 7 fixed it 👋 I guess this is only meant to use two images total though, since if I try to use more than two backgrounds or foreground images, it doesn't work (and neither does increasing that number, though I suppose it's not meant to do that). Why does changing it to a 7 work?

...And is there possibly a way to make it so that I can use more background/foreground images? Like, 5? 😢
"TITLE_VARIABLE" asks which variable you're working with. In the picture you showed me above, it said 7 ([007:grouptitlescreen]).
If you want to add more background/foreground images, you just need to do what Shaz says here:
You modify the script to put in your image names. The variable starts at 0 by default, which refers to the first element of each array.
Code:
  BACKGROUND_NAMES = ["Volcano", "Night"]
  FOREGROUND_NAMES = ["Gargoyles", ""]

means when the variable is set to 0, it will use the Volcano background with the Gargoyles foreground. When the variable is set to 1, it will use the Night background, and no foreground image.

So for each different "version" of the title screen, you will have an extra entry in each of the BACKGROUND_NAMES and FOREGROUND_NAMES arrays in the script.
So if you want more, you just need to add more to BACKGROUND_NAMES and FOREGROUND_NAMES. Like this:
Code:
  BACKGROUND_NAMES = ["Volcano", "Night", "Title3", "Title4", Title5"]
  FOREGROUND_NAMES = ["Gargoyles", "", "Foreground3", "Foreground4", "Foreground5"]
Oh, thank you, this worked! I'm sorry for being such a butt and getting confused so easily apparently, as this seems easier to grasp for others than me 😩

Thank you again 👋
Glad you got it working. 🙂

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/about-racheals-dynamic-title-and-making-a-variable-for-a-script.102502/