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,664
Reaction score
8,485
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,664
Reaction score
8,485
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

finished the second chapter of deltarune today, I gotta say that the 3 years wait was worth it lol
Happy Friday, y'all! I just got home from work and am sitting down with a nice cider, and I'm ready to chill and enjoy myself. Not sure if I'm gonna dive into any of my game-related projects or not tonight.... we'll see how I feel after unwinding for a bit I guess!
Just found out that mint tea made from chocolate mint tastes a bit like hot cocoa with candy cane stirred in. As I'm allergic to chocolate this makes me very happy.
It's special day for me tomorrow so time to vanish for 24 hours lol.

Forum statistics

Threads
115,145
Messages
1,087,611
Members
149,668
Latest member
cp868323
Top