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.
Healing when levelling up after battle

0 Members and 1 Guest are viewing this topic.

*
Rep: +0/-0Level 86
Ok, searched all over scripts and help, but didn't find anything for this.  Basically, I'm looking for something that will heal my characters after battle if they leveled up.  How exactly can this be done, if at all?  I'm guessing via variables, but I wouldn't know how to call the necessary amount of exp for that specific character (unless there is an escape character I don't know about, similar to the \n
  • for an actor's name).  By the same token, I haven't figured out how to make anything happen once a battle ends, regardless.  Any help on that as well would be greatly appreciated.

****
Bitch
Rep:
Level 87
Bits'n'Pixels
Set parralel process on a conditional that looks for character at a certain level, then set it to complete healing of that character then switch it off after that or jump to a label.
Problem with that is, you'd need to make this event for each level for each character in the game you want to be affected by this....
Big downside i know, but it's an option....

*
Rep: +0/-0Level 86
That is exactly what I was afraid of.  As far as where it goes, my guess would be in Common Events?

**
Rep:
Level 88
The level for each character is stored in a variable somewhere, right (if this is XP and scripting is involved)? Make a variable for each character (lets name it 'Old Level) that compares its value to the current character level. After the character levels, and those 2 values don't match, have an event heal the character. Then set the 'Old Level' equal to the current level.
STILL NEED FEEDBACK ON MY RUNNING/JUMPING SYSTEM!
http://rmrk.net/index.php/topic,16158.0.html

****
Bitch
Rep:
Level 87
Bits'n'Pixels
Really?  I guess it may be, but i'm on 2k3 and the only visible level option is ''level is [x] or greater''....
@magsinfin: yeah, i'd have used common events if you use my suggestion.  Its not that bad as it goes, would only take ten minutes to do (unless you have a shitload of characters), and you'd only have to do it once, but there may be easier ways to do it i guess...

**
Rep:
Level 88
Well, XP automatically stores such things are char positions in party (in script) if I remember correctly, so I would assume something as basic as a level would be stored as well.

Or you could also do a custom leveling system, OP. That way everytime the char levels you can also call a healing event  ;D.

Btw, where do you see that command in 2k3 Brady, because I can't find it.
STILL NEED FEEDBACK ON MY RUNNING/JUMPING SYSTEM!
http://rmrk.net/index.php/topic,16158.0.html

***
Rep:
Level 87
Things we fear the most have already happened 2 us
1)  At the start of each battle,,add a variable called "[010]HERO 1 Level"



2)  Turn the switch "[010]LEVEL Checker" ON



--------------------------------
3)  Under Common Events,,make a new Common Event,,call it LEVEL CHECKER.  Add a variable called "[011]Hero 1 Level After"



4)  Use a CONDITIONAL BRANCH as follows:



5)  Finish up your Common Event to make it look like this:



*Note* If you have MORE than one hero,,then follow this instruction,,adding variables and conditional branches for HERO 2.
"If u'r about to die,,then think of how good ur life has treated u up to this point.  On the
other hand,,if life hasn't treated u good up to this point,,then take joy in the fact that
it's not going to bother u for much longer."

********
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
alternatively you could go to www.chaosproject.co.nr
and grab blizzard's "Tons of Addons" script
then activate "Heal on Level Up"

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

*
A Random Custom Title
Rep:
Level 96
wah
In addition, his "Tons of Addons" have a ton of addons! :D Seriously. They're good.