Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED]Yet Again....Another Quesiton....Lol.

Started by Ramenman, February 16, 2009, 04:21:07 AM

0 Members and 1 Guest are viewing this topic.

Ramenman

ok, so i have a question regarding RPG Maker 2000.

In this game I want to make, some quests can be done at any time, which means that the player could be at any random level when doing said quest.

Now here's where my question gets confusing....let's say that this player (at level 11) completes the quest. But the player can do another quest for the same person once you level up 3 more times, at level 14.

How do you let the NPC of the quest know when you level up 3 more times....since the player can be at any given level, not just 11?

Confusing I know...lol. Sorry. But if you can help, please do! Thanks!

modern algebra

I'm not familiar with 2000, but in 2k3, XP, and VX at least you can save the actor's level in a variable. If 2000 has that function, then you could do that and then just check the actor's new level in another variable and see if the difference between the two levels exceeds 3

Ramenman

yea, you can save the character's level in one variable.

but, what do you mean by "checking it" with another variable? you mean like a fork condition?

sorry...i'm not the greatest with variables. lol.

modern algebra

Quote from: Ramenman on February 16, 2009, 04:34:15 AM
yea, you can save the character's level in one variable.

but, what do you mean by "checking it" with another variable? you mean like a fork condition?

sorry...i'm not the greatest with variables. lol.

What I mean is that save it in one variable whenever you take or finish the first quest, and then don't touch that variable, so if it is 11 it will stay 11. Then, whenever the player talks to that event again, use a different variable to take the actor's level again. Then subtract the first variable from that variable, and then use a fork condition and have that checking variable greater than or equal to 3 to get the next quest.

Ramenman

ohhh....i gotcha!

i'll try it out tomorrow.

thanks a ton!

Ramenman

aye....i did all of that, but to no avail. here, i'll show you what i did...maybe you can see the error i am doing.


This is when my actor is talking to the quest giving NPC:


Page 1:

<>Messg: You did it! Thanks! Come back when you are stronger for another job.
<> Variable Ch:[0004:HERO LV.] Set, Actor Level
<>Change Switch: [003:ok] ON Set

Page 2:

<>Variable Ch: [0005: Second Level Check] Set, Actor Level
<>Variable Ch: [0004: HERO LV.] - Var[0005]val.
<> FORK Optn: Varbl[0004: HERO LV.]-3abov
   <>Messg: You are ready to do this next quest!
   <>
: ELSE Case
   <>Messg: You are not strong enough yet.
   <>
: END Case
   <>

modern algebra

#6
No, subtract 4 from 5, not 5 from 4.

You want to preserve 4 since that is the only record you have of the hero's level when he first took the quest - you do not want to modify it.

Ramenman

ok, so i switched those two around now.

so i tried again. when i first spoke to the NPC, my actor was at LV. 1.

when i finished talking to him the first time, i added three levels to my actor and spoke to him again, just to check if it would work....but he still won't let me do the next quest!!!

there must be some obvious thing that i'm missing.

Ramenman

oh wait...i figured it out. lol.

thank you for all your help!  :lol:

modern algebra

Good to hear.   :lol:

If you have no further issues, please add [RESOLVED] to the topic title by editing your first post.

Ramenman