Is it possible to do something like this (if the level is too low you will get level five)

What I'd like to do is if a player leaves the city where the story takes place,
If a player's level is too low after leaving the city then he will get level five and if he is level five or higher then nothing will happen
1. Set a variable to store the hero's current level. Control Variables --> Game Data --> Actor Level
1684159882891.png

2. Conditional Branch to check if this variable is less than or equal to 5. Then change the level of your actor as needed if this condition is satisfied.
1684159935863.png


Here is a quick mock up for an event when the player leaves the city.

1684160226579.png
Heh, leave city for free level 5, go back to city, do quests now, get extra levels, steamroll game. 😀
1. Set a variable to store the hero's current level. Control Variables --> Game Data --> Actor Level
View attachment 261884
2. Conditional Branch to check if this variable is less than or equal to 5. Then change the level of your actor as needed if this condition is satisfied.
View attachment 261885

Here is a quick mock up for an event when the player leaves the city.

View attachment 261886
ok thanks for your help

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-do-something-like-this-if-the-level-is-too-low-you-will-get-level-five.157532/