Hi Guys,
In a previous post I asked if anyone knew a way to have an item consume a level with a simple script. For anyone wondering how I managed to do it with a simple Common event I simple set up a small script:
$gameVariables[2] = this.actorId;
and then used the "Change Level" command to decrease Variable 2 by 1 level. So basically whichever actor you use the item on will be setup as the Actor Id in variable 2.
The only thing I need now is for someone to point out which Javascript file and where abouts the code is for setting The minimum/initial level for my actors. As i'm using items that consume levels (which I have renamed to Skill Points or SP's), I'd like to have the ability to lower levels right down to 0... Failing that just cheap and have the level display as -1 of it's actual number... for example my character level is actually 20 but will show as 19.
While we are at it, i'd also like to setup a condition whereby if the actor is unable to use the item, it just sounds the buzzer instead.
Any help on this matter would really help me out!
In a previous post I asked if anyone knew a way to have an item consume a level with a simple script. For anyone wondering how I managed to do it with a simple Common event I simple set up a small script:
$gameVariables[2] = this.actorId;
and then used the "Change Level" command to decrease Variable 2 by 1 level. So basically whichever actor you use the item on will be setup as the Actor Id in variable 2.
The only thing I need now is for someone to point out which Javascript file and where abouts the code is for setting The minimum/initial level for my actors. As i'm using items that consume levels (which I have renamed to Skill Points or SP's), I'd like to have the ability to lower levels right down to 0... Failing that just cheap and have the level display as -1 of it's actual number... for example my character level is actually 20 but will show as 19.
While we are at it, i'd also like to setup a condition whereby if the actor is unable to use the item, it just sounds the buzzer instead.
Any help on this matter would really help me out!