Main Menu
  • Welcome to The RPG Maker Resource Kit.

Variables to track down a character's level progress?

Started by Dazsos, March 23, 2010, 02:11:12 AM

0 Members and 1 Guest are viewing this topic.

Dazsos

I think the name sort of speaks for my inquiry, but I guess I should elaborate.

I'm having a lot of trouble finding a method for keeping track of a character's level progress via variables. (So I can have specific things happen for each level, if the character has chosen a specific path.)

How do you think I would go about this? (without applying common events to react to the character's learned abilities.)


--->PS: If I figure it out (which I'm kind of close to finding a method that might not be perfect) does anyone else want me to post my findings here?

tSwitch

event
variable control
set [ variable ] = character's level


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

Grafikal

There's specifically a variable to check a player's level. Just use that. If that variable =< n, then something happens. Then turn off that common event. You'd have to make sure you turn on all the switches to turn on the common events and make sure they're all parallel processes so they're constantly checking if the player is a certain level. You don't have to turn on all the switches right away, you just need to make sure that the switch is turned on before the player gets to that level. (Event then it wouldn't matter much since the variable should be set up like =<, but then if you passed multiple points and then turn the switch on, the messages and random things would happen at the incorrect moment and happen in succession.)

fyi: You can't do this without common events. Common events are global, they can occur on all maps. Unless your game literally occurs on 1 single whole map, you're going to do it in a common event. I don't see your problem with it since it's literally the same as a normal event except global. O_o