actually, I was trying to learn to define a variable related to an actor from your perkpoints script, and i saw this:
var paramPPOL = String(parameters['Points On Levels'] || "1 3 5 7 10 13 14 15 18 20 25 30 35 40 45 50 55 65 75 85 90 93 96 98 99"); var paramPPOLD = paramPPOL.split(" ");
then this:
Game_Actor.prototype.initPerkPoints = function() {
for (var i = 0; i < paramPPOLD.length; i++) {
if (Number(paramPPOLD) <= this._level)
this.addPerkPoint();
};
};
but honestly, I'm just trying to set the initial variable to 0 except in certain conditions.... actors with id 1 and 2 will start with 5 points in these variables... funny how I'm learning from your script and you answered lol
see, I'm making 'invisible'-ish stats related to characters and I really just need to define the variables related to actors and be able to alter them with script calls... which, if I can understand this, I'm sure I can do it.
[doublepost=1458074640,1458074558][/doublepost]i assume that its checking the 'level' of the character, versus the levels defined as perkpoint levels, and adding points for each level defined as a perkpoint level - correct?