The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Dertt on August 26, 2007, 04:50:00 AM

Title: notify when level up
Post by: Dertt on August 26, 2007, 04:50:00 AM
I checked the database and the post that once had this script in it now just says "lol, gone."
Title: Re: notify when level up
Post by: Falcon on August 26, 2007, 04:59:22 AM
1. Should have gone in script request.
2. chaosproject.co.nr has all of Blizzard's scripts.
Title: Re: notify when level up
Post by: Dertt on August 26, 2007, 10:36:50 PM
Well now I have the script, complete with a syntax error on line 420.
Title: Re: notify when level up
Post by: Falcon on August 26, 2007, 10:51:32 PM
http://rmrk.net/index.php/topic,19774.0.html

It's probably better to ask on chaosproject though, since Blizzard would know his code better than we would.
Title: Re: notify when level up
Post by: modern algebra on August 26, 2007, 10:57:59 PM
If it's just a syntax error, it's probably as simple as an unclosed bracket. Look at line 420 and the one above it and make sure that all open brackets{[ or (} have a close bracket {] or )}
Title: Re: notify when level up
Post by: blueXx on August 27, 2007, 06:13:58 PM
Our older scripters used to go cranky when something like that was asked.
it's a very basic common event or para event on each map (your choice)

it simply goes: (well after setting hero level variable to the starting hero level in a basic event at the start of the game)
wait 2 frames (no lag)
If hlvl(variable) < hero level stat then
-show level up animation
-hlvl(variable) = hero level stat.

after the animation you can always do things like adding a massage with the old stats (which you'll save in the same way via variables) and the new stats, and so on, maybe even add a gift item for reaching certain levels.

well, that's another option if the script is erroring you or doesn't do exactly what you want it to
Title: Re: notify when level up
Post by: WcW on August 27, 2007, 11:39:19 PM
This script is actually meant to notify after you've leveled up in battle, please think before you post something about a common event or parallel process event to a script request. 
Title: Re: notify when level up
Post by: modern algebra on August 28, 2007, 02:14:26 AM
Well, the parallel process does the same thing; it just exits battle first.
Title: Re: notify when level up
Post by: WcW on September 02, 2007, 04:51:12 PM
True, but Lord Blizzard's still whoops common events by tons.