FleshToDust

Veteran
Veteran
Joined
Jul 10, 2017
Messages
798
Reaction score
2,903
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

Veteran
Veteran
Joined
Jul 10, 2017
Messages
798
Reaction score
2,903
First Language
English
Primarily Uses
RMMV
That works too.
 

Latest Threads

Latest Posts

Latest Profile Posts

Are the default-size "chibi" sprites really a bad thing for a project? I'm not planning to sell my game anyway but I was wondering if they were as hated as some videos seem to claim...
Only 9 things left on the to-do list before my game's next big update. Minus the soul-crushing playtesting session, of course! So close...
Retired from RPG Maker.
Anyone else who initially created a character to be a villain only to end up liking them so much that you made them a hero? :)
Today i'll start creating monster sounds for my enemies :D I was looking forward to that

Forum statistics

Threads
111,428
Messages
1,061,043
Members
144,787
Latest member
mxcassandra
Top