RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Certain variables

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 88
I learned how to use switches and variables last night!  :zoid:

But there's something I need help with. :-\

How do I make variables that make NPC's tell me how much XP/MP/HP/GP i have or what level I currently am. I read how to do it on a guide on a website but it confuses me and I cant do it right

And I would also like to know if it's just fork conditions that you use for NPC's to tell you whether you have enough XP/MP/HP/GP/Level to continue or not?

Any help would be appreciated!  ;D



 




****
Rep:
Level 89
What will that crazy ape do next?
i dont know if theres a way to do that with just events, u may need to look at some scripts (this is for XP)
My Project: Dark Empire
http://rmrk.net/index.php/topic,7815.0.html
Official Site: http://darkempirerpg.tripod.com
Process: Getting back to work.

Always looking for sprites, if your interested, PM.

"But then I realized, why stop things from exploding, when in fact it is in exploding that things reach their perfect form. Of course, they only reach it for a few glorious seconds, but during that short time there is no object in the universe more beautiful." -Kite Rockswell, the Mad-Mad Bomber, from The Final War, my very own novel project.  PM me if you would like to read.

"Oh, sure, blaim the wizards..."

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
can't you use a message system, and some good events to do this?
Watch out for: HaloOfTheSun

**
Rep: +0/-0Level 88
I'm using 2000 not XP

**
Rep: +0/-0Level 88
What I want to know is how i type the variable out to make NPC's show how much XP/MP/GP/HP/Level I have. I know how to use message systems and create events but i don't know how to type the variable out or make it increase as i kill each monster or complete a quest etc
« Last Edit: November 11, 2006, 09:42:29 PM by G-Man »

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Here you can see the special message codes:
http://rmrk.net/index.php?topic=18.0
You just have to store the information in the variables.

I would guess it's just fork conditions that you should use.

Sorry for the vague response. Been a long time since I used RPG Maker 2000
 - Zeriab

**
Rep: +0/-0Level 88
Here's what you can do:

1) Have the hero talk to an NPC.
2) In the event commands, page 1, select "Change Variable"
3) Name variable#0001 "experience points"
4) Set variable "experience points" to -Hero(pick which hero): Exp.  (Hero is the sixth option down)
5) Click OK
6) In the event commands, page 2, select "Show Message"
---THIS IS THE IMPORTANT PART---
7) Type something like, "Hero, you have earned \V[1] experience points!"

The answer to your question is the \V[1].  That will display the value in variable# 0001, which we named experience points.

It must look like this!  \V[1].  If you want to show the value in variable# 0007, you'd type \V[7].  Got it?