How do you make escape events?

FleshToDust

I make youtube videos
Veteran
Joined
Jul 10, 2017
Messages
712
Reaction score
2,838
First Language
English
Primarily Uses
RMMV
I have an event that I want the player to be able to escape from if their level is high enough depending on the enemy event they're battling.

If LV <= 10, battle enemy A and if LV >= 5 escape

else If LV >10, battle enemy B and if LV >= 15 escape

else if LV > etc.


The first part of it works where if the player is under level 5 they can't escape and if they're over level 5 they can escape but the level 15 part of it doesn't work where if you're between LV 10 AND LV 14 you shouldn't be able to escape but you can. Any idea why it's not working?

Edit:
A more stripped down version with the same problem:
 
Last edited:

omegadaxer

Veteran
Veteran
Joined
Jul 23, 2016
Messages
35
Reaction score
5
First Language
English
Primarily Uses
RMMV
Hey there,

So I'm a little confused about your question, but from what I gather...it looks like you would need to set up an If / Else condition that basically reads IF a player level is greater than 15, a battle occurs that has the "Can Escape" option ticked in the check box when you create a Battle Processing event. ELSE if a player is less than level 15, a battle occurs that does NOT have the "Can Escape" option ticked in the check box.

Sorry if this isn't what you're asking.
 

FleshToDust

I make youtube videos
Veteran
Joined
Jul 10, 2017
Messages
712
Reaction score
2,838
First Language
English
Primarily Uses
RMMV
That works too.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

I spoke with hudell and many programmer about the Window_BattleLog class and we all just agreed to pretend this class just doesn't exists lol
I haven't been able to solidify a cohesive plot so dropped out of a game jam but, on a fun note, I pre-ordered MZ today! :LZSwink:
So I just spent the weekend...playing my own game. The one I released last year. Yep you heard that right.
Goal for MZ? None... I'm still curious how to finish my VXA project and how it looks like when it actually finished. Which will take at least another two years. Coming late again to the party.

Forum statistics

Threads
100,657
Messages
978,132
Members
132,268
Latest member
janetjoradan
Top