I want to set character's level as a variable
I tried everything
$gameVariables.setValue(2, $gamePlayer.level);
$gameVariables.setValue(2, actor.level);
$gameVariables.setValue(2, $gameParty.level);
$gameVariables.setValue(2, $gamePlayer._level);
$gameVariables.setValue(2, actor._level);
$gameVariables.setValue(2, $gameParty._level);
Nothing works
It seems that I can't find the right code line to return the level value but I'm not sure
If anyone knows how to do that help pls
I tried everything
$gameVariables.setValue(2, $gamePlayer.level);
$gameVariables.setValue(2, actor.level);
$gameVariables.setValue(2, $gameParty.level);
$gameVariables.setValue(2, $gamePlayer._level);
$gameVariables.setValue(2, actor._level);
$gameVariables.setValue(2, $gameParty._level);
Nothing works
It seems that I can't find the right code line to return the level value but I'm not sure
If anyone knows how to do that help pls