RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Variables to track down a character's level progress?

0 Members and 1 Guest are viewing this topic.

*
Rep: +0/-0Level 81
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?

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
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

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
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