right now i have it set up so you get 1 point per lvl so i made a variable that is equal to the actor level then i made another variable that is the amount of skills youve gotten after that, i have it so it subtracts skill# from skill points but i realized that would let the number of points go negative so i made it so that if skill points is less that 0 it sets it to 0. now, as im typing this out im wondering if i even need this because if i do a check to make sure skill points equals 1 then it will never go negative because if its 0 they cant get the skill right? idk, its 3 am and i should probably go to sleep but if you have any suggestions on how to simplify it go ahead and let me know.
How do i get skill points working?
RPG Maker MV Supportyes, because unfortunately your post is more rambling than anything else and difficult to understand.
You would have to give us the basics first before we can help. For example did you use one of the plugins for skill point systems or is this completely evented?
then you either have to give a link to the website of the plugin, or screenshots of some example events that show how it does.
only with that info we can start to help you bughunting
its all evented
this is what i tried to do but it would set to 0 when it should be 5 and it would still go negative. i dont really know how to explain exactly what is going on because im very new. im basically trying to make sure the "Actor LVL" doesnt go negative if i grab more skills then i should be able to because then i wouldnt be able to get a skill when leveling up or if its completely borked, id be able to get everything at the start.
this is what im using to check if the number goes negative
the 1st image is on parallel and the second is set to action button
the last thing i was talking about before is if i just set a conditional branch for every skill so that i have to have greater than or equal to 1 for the "Actor LVL" (skill points) is there a way the player could work around that or the system could get confused and either give the player 0 points or infinite? if something like that cant happen then i have just wasted everyones time and im sorry but if that is possible then id like to do everything to make sure that doesnt happen
this is what i tried to do but it would set to 0 when it should be 5 and it would still go negative. i dont really know how to explain exactly what is going on because im very new. im basically trying to make sure the "Actor LVL" doesnt go negative if i grab more skills then i should be able to because then i wouldnt be able to get a skill when leveling up or if its completely borked, id be able to get everything at the start.
this is what im using to check if the number goes negative
the 1st image is on parallel and the second is set to action button
the last thing i was talking about before is if i just set a conditional branch for every skill so that i have to have greater than or equal to 1 for the "Actor LVL" (skill points) is there a way the player could work around that or the system could get confused and either give the player 0 points or infinite? if something like that cant happen then i have just wasted everyones time and im sorry but if that is possible then id like to do everything to make sure that doesnt happen
using actor level and level -= skill aquired also make the actor level being 0.
actor level mostly start at level 1.
if you want to learn skills per x levels, you can set that in the actor tab or class.
skills required and skill points are 2 different things.
skill required can be an array with their own points in it,
or variable for each skill.
another problem is, that your variable 9 = actor level - skill required,
and variable 10 add +1 to skill required, meaning, that 9 = never changed
and stays on 10.
what you could try is:
variable 9 = actor level,
variable 10 = skill required.
variable 9 -= variable 10.
but to understand the entire mechanic you try to accomplish or how it should work,
tell step by step what it does when required skill = 1, or 2, 3, 4, etc, so we can
guide you more.
if you are compleetly new, you can do the inbuilt tutorials to see how things works,
how switches and variables work.
there is also alot of tutorials on some system using it, which you could
look up and see how the mechanic works.
I made an evented main menu and ocarina of time.
there are other systems like calender, time system etc using variables,
but each variable asigned is sometimes bound to condition branches to
control what the variable does or not.
it can help you deeper on how to use it and or effectively/conviently.
actor level mostly start at level 1.
if you want to learn skills per x levels, you can set that in the actor tab or class.
skills required and skill points are 2 different things.
skill required can be an array with their own points in it,
or variable for each skill.
another problem is, that your variable 9 = actor level - skill required,
and variable 10 add +1 to skill required, meaning, that 9 = never changed
and stays on 10.
what you could try is:
variable 9 = actor level,
variable 10 = skill required.
variable 9 -= variable 10.
but to understand the entire mechanic you try to accomplish or how it should work,
tell step by step what it does when required skill = 1, or 2, 3, 4, etc, so we can
guide you more.
if you are compleetly new, you can do the inbuilt tutorials to see how things works,
how switches and variables work.
there is also alot of tutorials on some system using it, which you could
look up and see how the mechanic works.
I made an evented main menu and ocarina of time.
there are other systems like calender, time system etc using variables,
but each variable asigned is sometimes bound to condition branches to
control what the variable does or not.
it can help you deeper on how to use it and or effectively/conviently.
Why is that in a loop? You never have any way to break out of it, so that loop is going to sit there forever.
It probably shouldn't be. Parallel events, unless you do something that you don't show in your screenshots, will run once a frame (60 times a second), which is almost definitely not useful for you.
It should probably run once at a time, as a regular common event, triggered by whatever causes you to gain levels or skills - I can't imagine why you would need the game to be constantly performing this calculation in the background.
And if you do, make sure you use wait commands so parallel events aren't running every frame.
Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-get-skill-points-working.155254/