Getting 2 battles from on screen encounters.

Red-Pill

Veteran
Veteran
Joined
Sep 25, 2014
Messages
33
Reaction score
8
First Language
English
Primarily Uses
Like the title says, i'm getting 2 fights from my on screen encounters. I followed redweavers tutorial for on screen encounters so i'm wondering if i may have screwed up some where.

Where do you guys think i should look, or have you encountered this before? I can provide screen shots if you want them.
 

Bloodmorphed

Dungeon Fanatic
Veteran
Joined
Sep 17, 2012
Messages
1,466
Reaction score
144
First Language
English
Primarily Uses
We really can't help you unless you show the encounter (event I'm assuming).
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
We don't know what "Redweaver's tutorial" is. Show us a screenshot of your event. If it has multiple pages, show us all pages.


Do you have ANY custom scripts? Please give us a list, and if you only have a few, also include links to their forum threads (or blog posts).
 

Red-Pill

Veteran
Veteran
Joined
Sep 25, 2014
Messages
33
Reaction score
8
First Language
English
Primarily Uses
We really can't help you unless you show the encounter (event I'm assuming).
Yep events.

We don't know what "Redweaver's tutorial" is. Show us a screenshot of your event. If it has multiple pages, show us all pages.

Do you have ANY custom scripts? Please give us a list, and if you only have a few, also include links to their forum threads (or blog posts).
No I'm not using any scripts yet. This is my first game.

Also redweaver is a guy on youtube that has pretty good tutorials.

2 battles from encounters.jpg

2 battles from encounters contd.jpg

3.jpg

4.jpg

5.jpg

6.jpg
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Well, you're getting 2 battles because you're telling it to do 2 battles.


You need to put your conditional branch for variable <= 100 inside the Else block of the previous conditional branch.
 

Red-Pill

Veteran
Veteran
Joined
Sep 25, 2014
Messages
33
Reaction score
8
First Language
English
Primarily Uses
K, I'll try it, but It's not consistent. Sometimes I'll get the 2 battles and sometimes i won't.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Yes, because on one of your events you've got the extra check inside the Else block of the previous conditional branch, and in the other you don't.


When you play and get 2 battles, hit F9 after the battle is over, and see what the variable is set to. Then look at ALL the events (especially the one you interacted with, if you can easily distinguish it from the others), and follow through the logic of what happens when the variable has that value. Don't just skim because you THINK you know what it's doing (or you know what it SHOULD do) - work through it line by line and don't skip anything.
 
Last edited by a moderator:

Red-Pill

Veteran
Veteran
Joined
Sep 25, 2014
Messages
33
Reaction score
8
First Language
English
Primarily Uses
Yes, because on one of your events you've got the extra check inside the Else block of the previous conditional branch, and in the other you don't.

When you play and get 2 battles, hit F9 after the battle is over, and see what the variable is set to. Then look at ALL the events (especially the one you interacted with, if you can easily distinguish it from the others), and follow through the logic of what happens when the variable has that value. Don't just skim because you THINK you know what it's doing (or you know what it SHOULD do) - work through it line by line and don't skip anything.
Thank you very much. I apologize for my newb mistake. ;_;
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
We all make them :)
 

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

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top