How do i make something equals to on event page

1596216346122.png

For example on this screenshot under "Operation" there is only Increase and Decrease. is there a way to have it be equal to the number?
You can do it with code using the changeLevel actor function.

Or if you want to do it purely with eventing, use a second variable. Set a variable to the number you want to change the level to, set another one to the actor's level, subtract the second from the first, then use that variable in the change level command.
it depends for what you want to use it for?
if its for the conditional branch, you can go to game data -> actor -> actor name -> level
You could use this:
$gameActors.actor(actorId).changeLevel(n, true/false);
More useful script calls here:
I second Trihan's suggestion, except you only need 1 variable, e.g.
Code:
◆Control Variables:#0001 Variable 1 = 10
◆Control Variables:#0001 Variable 1 -= Level of Harold
◆Change Level:Harold, + {Variable 1} (Show Level Up)
I.e.
  • Set variable equal to target level;
  • Subtract Harold's current level (Game Data > Actor > Level);
  • Increase Harold's level by that difference.
🙏
Oh yeah, I forgot you could just subtract game data.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-something-equals-to-on-event-page.124777/