The RPG Maker Resource Kit
RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: TheWorld on January 08, 2008, 11:46:32 PM
-
Ok,so...I'm making a game called "The World"
It has 2 different story lines, Past & future...but theres a problem.
If I choose past then your character gets changed into a warrior & class is a warrior...but.
If I choose future your character gets changed into a pilot & class is a pilot...yet the problem is when I change classes the skills get messed up. & when you get changed into warrior you wined up with pilot skills...& when you change into pilot you get pilot skills....
so to resolve this I moved all the classes down one space & left the first one blank this way I can just learn the skills during the game using the "Change Skills" event command. BUT the real request here is someone helping me get a level checker event,I'm going to make a NPC called "Skill Master" & when you reach a certain level you will have to do something to earn that skill.
-
Make a common event run "Parallel Process" on a switch that will always be on. In it, put an event line that is "Variable[XXX]=Hero's Level" (look for it). Then, put a small wait command of... 2 frames? 1 frame? That'll reduce a bit of lag sometimes.
Also, just reference to that variable you're using to do any events. Such as conditional branches. If Variable[XXX] = 3, then etc. Then it'll do the etc. if you're level 3.
-
You mean like so?(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg520.imageshack.us%2Fimg520%2F5404%2F57071832qy0.png&hash=a0c90057da2db4fb51b90c53118022f2309822bc)I'm not really that good with the whole variable thing ;9
-
No.... A variable will always equal itself. The variable has to equal 5. Not a variable #5. Plus, you need the common event.
-
ugh...so confusing...
-
As a suggestion for your original problem:
You could just make two seperate characters and have an event to select which one you would use depending on whether you choose past or future...this only causes a roblem if you intend them to interact with each other or switch or somethin'...
-
ugh...so confusing...
Wait until you get RGSS errors, then tell us if this is confusing.
You can always use scripts to basically copy characters, $game_actors[X].maxhp = $game_actors[Y].maxhp or something like that for each stat.
-
Yeah...i think i can wait for rgss errors...i get stressed enough with event errors, but i know i can fix any of them...as fr eventing though, my suggestion should work, unless you want to go with the scripting idea...that's generally easier to just copy a script over making events....
-
Another way to do it, make another class that does not learn skills.
Your character will be this class at first.
Make the other two classes learn their first skills at level 2
And at the begining upgrade your character to level 2
-
Oooh yeah, that's good. That should sail pretty well