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.

Little question for Disco Viking or any pro

Started by TommYJET, February 03, 2006, 07:22:56 PM

0 Members and 1 Guest are viewing this topic.

TommYJET

After reading the topic "Heal upon level up" that you (Disco Viking) have made there is a question that I want to ask you... But the topic is locked... So I'm making a new one!

Old Topic: http://www.crankeye.com/forums/viewtopic.php?t=5808

Disco Viking
Quote
It's alright.
I found the script with levelup in and did what I originally wanted to.
I call adding
actor.hp = actor.maxhp
actor.sp = actor.maxsp
to a script easier than adding an event to every single map.

I don't know where is the levelup script. Can you tell me where is it?
Hey thanx a lot guys!!!

Disco Viking

It's in "Scene_Battle 2".
HIt ctrl+f and search for "level", you should get something like this.
"last_level = actor.level"

Just below that there will be "if actor.level > last_level"
anything within that if statement will be carried out upon levelling.

TommYJET

Thanx for your help I really appreciate it. Thank you!