RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[Resolved] Level Up

Started by tvman3279, April 24, 2010, 12:48:17 AM

0 Members and 2 Guests are viewing this topic.

tvman3279

I want to be able to change a variable each time a character levels up where character 1 changes variable 1 and 2 changes variable 2, but I do not know how to do it because actors are 3 numbers (001) and variables are 4 (0001) so I can't say:

$game_variables[$actor_id - 3] += 1

If you could help, I would be very appreciated

cozziekuns

You could make a common event where each time your character levels, it changes the variable. For example:

Change Variable: [0001]: Actor[001]'s level.

And make it parallel process. Just a thought.

tvman3279

That didn't work, it doesn't change the variable. Thanks though.

cozziekuns

Lol, forgot that Enterbrain made a scripting error (or something like that).

http://rmrk.net/index.php/topic,25243.0.html should fix that.

tvman3279

Thanks, that was very helpful.