Status
Not open for further replies.

OnlySlightlySane

Villager
Member
Joined
Aug 4, 2013
Messages
20
Reaction score
0
First Language
English
Primarily Uses
I'm trying to program an encounter where my protagonist is joined by her first teamate, and it's not going exactly as I planned. See, the event is supposed to go: Protagonist talks to themselves as they walk (check), they hear a monster noise and freak out (check) ally suddenly appears and they have a short dialogue (check) battle ensues with ally in party (check) battle ends and the party continues on their merry way. That last step is where the wheels fall off. For some reason the diaglogue and batle sequence repeat indefinately, and I don't know what I'm doing wrong. I've included a screen shot of my event script. I have it set on the sprite that is supposed to join my party. I wish I could explain more, but I'm more of a visual person and I don't know if I can upload multiple screen caps.

Did I mention I've only had the program for four days and have been looking for tutorials but none are really helping me as much as I need?battle bug.png
 

hiromu656

Praise the Sun (Arcana)
Veteran
Joined
Mar 10, 2013
Messages
437
Reaction score
123
First Language
English
Primarily Uses
RMVXA
Does the second page have a Condition for Self Switch A? If not, the scene will repeat due to the Autorun. If that's not the case, remove the "Exit Event Processing" - Both of them are unneccesary.

Actually, the Conditional Branch itself is also unneccesary, since the event will only appear when "Forest Encounter" is active, then there's no reason to double check if its on.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,970
Reaction score
8,616
First Language
German
Primarily Uses
RMMV
The event is repeating because you exit event processing before the self-switch can turn it off, and autoruns automatically loop - being called again as soon as the exit event processing command is complete.

About the tutorials: You cannot learn the engine within a few days, I usually suggest making a tutorial project and follow the tutorials for about one month before starting with your own game...

Links to the most important tips and tutorials can be found in my signature
 

Vox Novus

Knight of Whispers
Veteran
Joined
Mar 18, 2013
Messages
3,293
Reaction score
2,475
First Language
English
Primarily Uses
N/A
You put an exit event processing command before you activate the self switch, that is probably the main issue.
 

OnlySlightlySane

Villager
Member
Joined
Aug 4, 2013
Messages
20
Reaction score
0
First Language
English
Primarily Uses
Ah, thank you so much guys! I feel silly for making such a silly mistake, especially since I'm actually in school for coding and similar things. I've got it working now! The whole event still runs a little rough, but at least it doesn't loop any more!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,970
Reaction score
8,616
First Language
German
Primarily Uses
RMMV
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.
 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

So got my hearing tested to see if it was the cause of my mishearing what people say. Test showed no problems but talked with the doctor about anxiety and ADHD causing hearing issues and she agreed and also added that some people hear things differently. With my anxiety cause I am in fight or flight I pay attention to all the sounds in the area so body knows when react. Can't pay attention to one source.
Welp, people are trying to quit my team because I can't code. Where's the dancing blob emoji when I need it?

Forum statistics

Threads
116,053
Messages
1,095,328
Members
151,410
Latest member
Reaper73
Top