lvl restriction shop event problem

Can anyone help me i do not understand what went wrong


it keeps telling me that my lvl is to low even if i am higher than 5

problem.png
either you're checking the wrong actor, or the same variable is used somewhere else and automatically resetted.


Pleas include a show text to print out the variable content and check if this still happens if you switch to a different variable
either you're checking the wrong actor, or the same variable is used somewhere else and automatically resetted.


Pleas include a show text to print out the variable content and check if this still happens if you switch to a different variable

thanks for your reply i tied to make a new variable but that did not fix it


and i used the right actor I just dont get it


I also checked my other events but can't find the problem


this is the variable i use 


is there anything i can do to make my problem more clearly

problem 2.png
that is not what I was writing about - I've already seen that in your first screenshot.


I said you should check if you're loading the level of the correct actor (the one that is in your party to check), and test if the problem goes away if you use a different variable.
that is not what I was writing about - I've already seen that in your first screenshot.


I said you should check if you're loading the level of the correct actor (the one that is in your party to check), and test if the problem goes away if you use a different variable.

so i did as you sugested but i can't seem to find the problem sorry for misunderstanding you last time i put every actor in my party and it still did not work
OK, I think we should go back to the basics.


Your command loads the level of the actor named Ralph, that has the ID 001 - all other actors don't matter. So please put only that actor into your party, no one else, and check which level that actor has.


Additionally, add a show text command after the control variable command that contains a \v[2] to show the content of that variable #2


Then play again and tell us what happens, including the number displayed and what level that actor has on the status screen.
ok the text shows number 0 and my database says it should be 7
The database cannot show the level of the actor, only the status screen ingame can show that - please give some screenshots of those, and test what happens if you use variable 99 instead of variable 2

Original thread: https://forums.rpgmakerweb.com/threads/lvl-restriction-shop-event-problem.71195/