The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: SSJ Undertaker on April 05, 2007, 10:04:05 PM

Title: [RESOLVED] Initial Members Levels
Post by: SSJ Undertaker on April 05, 2007, 10:04:05 PM
Is there a script or anything I can use so that when a new party member joins, their level would be the average of all the characters levelled up so far?

If this has already been asked, I'm sorry.
Title: Re: Initial Members Levels
Post by: :) on April 05, 2007, 10:06:37 PM
You can make it exactally the level of a member(probally the head member)

Make a  varible and have it store the main character's level. Now after he joins your party in the same event add event command "Change Level" and use operend Variable. and then the varible you made before.
Title: Re: Initial Members Levels
Post by: Kaladun on April 05, 2007, 10:43:56 PM
Do as Nouman said and store the main character level. Than add every other character's level to that variable and divide by the number of characters added. That will give the average.
Title: Re: Initial Members Levels
Post by: SSJ Undertaker on April 06, 2007, 10:27:37 AM
Excellent, thanks for the help guys. At least now any characters will that join won't be over or underpowered!
Title: Re: [RESOLVED] Initial Members Levels
Post by: Mushroom Panda on April 14, 2007, 12:46:16 PM
Don't forget, though, if you have, say, a level 99 Hero, and the rest of your guys are like level 3, your hero is an outlier and will throw off the average.