Resolved: My one time events won't work!! what am I not doing?

SGT-Al-Bert

Villager
Member
Joined
Mar 6, 2018
Messages
8
Reaction score
1
First Language
English
Primarily Uses
RMVXA
I programmed a game 20+ years ago in high school (on my TI-86 Calculator, no less) and just decided to pick up the demo for RMVX-A to see if I want to spend the money to get RMMV to start making RPGs. And much of the toolkit is awesome, but what frustrates me (especially having programmed a game before; from scratch, no less) is that I cannot, for the life of me, figure out how to get an event to happen, and then not happen.
I've read tutorial after tutorial, but I cannot get the program to register a variable being on before the event and then being off after it.

PLEASE HELP!!!
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,528
Reaction score
14,261
First Language
English
Primarily Uses
RMVXA
Post a screenshot of your event please. Without that we can only guess as to the possible cause. However, one thing to note is the engine always runs the highest numbered page which is valid, so if you create page 3 with no conditions, page 3 will always run, no matter what.
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,078
Reaction score
2,654
First Language
Greek
Primarily Uses
RMMZ

SGT-Al-Bert

Villager
Member
Joined
Mar 6, 2018
Messages
8
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Thank you for the quick response. I'll look these over and see if I can figure it out. I'll post screenshots when I'm through if I can't figure it out by then.
 

SGT-Al-Bert

Villager
Member
Joined
Mar 6, 2018
Messages
8
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Actually, why not check a set of nice tutorials available in the forum?
You will be hopefully surprised on how many things you will learn fast.

If you are a person that would enjoy a game tutorial:
https://forums.rpgmakerweb.com/index.php?threads/free-tutorial-game-for-vx-ace-events.29370/

If you are a person enjoying reading tutorials:
https://forums.rpgmakerweb.com/index.php?threads/a-starting-point-for-new-users-v1-2.14727/
Just a few minutes in and I've got what I needed, thank you! I'm going to finish this game (beautiful, and well done, BTW), so I can minimize the questions I have later!

PS - I studied Biblical Greek in my undergraduate. It has been a couple of years; however, I couldn't help but comment after noticing that your first language is Modern Greek!
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,078
Reaction score
2,654
First Language
Greek
Primarily Uses
RMMZ
Modern Greek is really a chopped slaughtered pillaged obliterated variation of Ancient Greek. Meaning that you might find Greek people that can't understand Ancient Greek. I mean they can read, but they can't understand a thing. I was fortunate to be well educated so I can read some things. I remember once an Italian asking me to explain him a word. Had no idea, asked for the phrase thw word was in, then understood instantly that it was from Pythagoras. It's not easy even for Greeks.
Back on topic though (I hope nobody saw us doing this mini derail).

Events was a little clumsy. Too many typos and syntax errors. Makes me feel awkward to see them. But I must dig deep inside my backup to find the project to fix them. Include the fact that my time is limited and I prefer contributing here and on another project I prepare, thus Events will stay as is for a while. But it does its job.

"so I can minimize the questions I have later!"
Precisely what it was made for! ^^

Tip: Talk to the nun! She will join you, you will need her.
 

SGT-Al-Bert

Villager
Member
Joined
Mar 6, 2018
Messages
8
Reaction score
1
First Language
English
Primarily Uses
RMVXA
So, I learned very early in the tutorial to be able to set an event to start the game with. It then, of course, is a one-time event. It does not however fix the problem I am not yet able to solve. So here is the screenshot whilst I continue to play the tutorial game.
 

Attachments

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,714
First Language
English
Primarily Uses
RMMV
you're using the switches incorrectly.

When you set a page condition to a switch (top left, above the graphic), it means that page will only be run when the switch is on. But your switch is turned on BY that event.

So the event will never run because the switch is never on, and the switch is never turned on because the event never runs.

Your first page should not have any conditions. It should turn on the switch at the end. The SECOND page should be conditioned by the switch.

So when you play, page 2 is conditioned by the switch, but the switch isn't on, so page 2 isn't active. Page 1 has no conditions, so it becomes active. It runs, turns the switch on, and then page 2 becomes active because it's a higher numbered page and its conditions have just been met.
 

SGT-Al-Bert

Villager
Member
Joined
Mar 6, 2018
Messages
8
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Just to be clear, my event turns the switch off, because I don't want the event to run after the first time.

I tried to create a page to turn the switch on, so that the event would run, but got the same result.
 

SGT-Al-Bert

Villager
Member
Joined
Mar 6, 2018
Messages
8
Reaction score
1
First Language
English
Primarily Uses
RMVXA
So here is my revised attempt based on the tutorial, but something is still not right.
I combined screenshots from page one and page two for convenience.

The event runs, every single time I step on the tile. I want it to cease after the first time.
 

Attachments

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
Do you actually need a switch to start this page? I may have misunderstood, but you say that this is to start the game. If so, you have a choice.

Start the player on the map you are transferring the player to. Then you don't need an event at all.

Alternatively, when the game opens on this map (that is what I'm assuming is going on from your description) have this event set to Autorun (bottom left). Your last command will be to set self switch A. Your second page will have self switch A as its condition. Page 1 will run the commands and then switch to page 2 which has nothing on it, so the event will never run again.

What I think might be helpful would be if you were to describe what it is you are trying to do, rather than how you are trying to do it. Could you describe what you want to happen, and then we can work out what the best approach to achieving that might be.

For screenshots, please use Alt+PrtSc. That way the shot is only of the active window, not your whole desktop, and so makes events a lot easier to read.

Also, instead of double-posting (posting directly under yourself without a 72 hour break) just use the Edit button on the earlier post and add any additional info/comment.

EDIT
You posted just as I was finishing the above.
The problem is that you have not set the self switch to A at the end of the commands on page one, so page 2 will never run.
 

SGT-Al-Bert

Villager
Member
Joined
Mar 6, 2018
Messages
8
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Thank you all so much! I finally, after reviewing the section on erasing events, got it done.

Yes, it is the beginning of the game, and I will be using something else to accomplish this particular event. However, when I realized that, I also realized that this would be an issue that I would face again and that it would be better to learn it now rather than to wait until I needed to learn it. Just a little bit of thinking ahead that I don't always do very well, (laughs at own expense!)




PS and yes, I will do my best to avoid posting multiple times in a row by editing my posts instead, thank you!
 

Attachments

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
Your priority is wrong.
Priority determines where the player has to stand to trigger the event.

Below means standing on the event
Same means standing besides it and facing it
Above means "out of the way", never touching it.
 

SGT-Al-Bert

Villager
Member
Joined
Mar 6, 2018
Messages
8
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Your priority is wrong.
Priority determines where the player has to stand to trigger the event.

Below means standing on the event
Same means standing besides it and facing it
Above means "out of the way", never touching it.
While your logic is sound and I know that you know what you are talking about, it works as I wanted it to.
Regardless, what you are saying will likely affect something else as I strive to make more and more complex gaming events, so I greatly appreciate your input.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,547
Members
137,835
Latest member
yetisteven
Top