Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Yet ANOTHER Question from Masterofrotten!, An inventory problem I need help with
masterofrotten
post Jun 15 2010, 02:58 PM
Post #1


Level 3
Group Icon

Group: Member
Posts: 43
Type: None
RM Skill: Beginner




Hey guys, so I have another question that I would really appreciate an answer for.

So my problem is a player in my game collects skill crystals by defeating enemies and spends these crystals in the skill grid to learn new skill. Everything is going fine except for one thing, when players collect 100+ crystals it only shows 99 in their inventory however, the game recognizes that the player has more than 99. So if you had 200 skill crystals your inventory would show it as 99 but you can spend up to 200

my question is, is there a way i can show the exact amount of crystals in the players inventory? and Could I possibly make an item like the Coin Case in Pokemon?

Any help is appreciated and many thanks in advance


__________________________
From the poisonous vile swamps of Black Marsh resides a creature so horrid so tremendously disgusting his only known alias is
The Master of Rotten

CLICK, You know you want to
Go to the top of the page
 
+Quote Post
   
TNinja
post Jun 15 2010, 05:09 PM
Post #2


Level 10
Group Icon

Group: Revolutionary
Posts: 167
Type: Event Designer
RM Skill: Skilled




To answer the Coin Case, I think you could make an item named "Crystal Pouch" or something, and make a variable that counts the crystals. Then link the item to a common event that would call a message text.

And when you use the pouch, a text message appears telling you how many crystals you have collected. By letting the message box call the variable like this.
CODE
You currently have \v[*Variable number*] Crystals.


__________________________
Eye 'em so lolicon.
677,09kb.gif animation incoming, and 20k dancing coconut dude.
Go to the top of the page
 
+Quote Post
   
masterofrotten
post Jun 15 2010, 05:36 PM
Post #3


Level 3
Group Icon

Group: Member
Posts: 43
Type: None
RM Skill: Beginner




Awesome thanks, but i am having trouble with the:
CODE
You currently have \v[*Variable number*] Crystals.


Edit: lol well maybe i should elaborate more the i named my variable [0005:Skill Crystals], my problem now is what exactly do i put in the text box to show how many crystals i have

This post has been edited by masterofrotten: Jun 15 2010, 06:14 PM


__________________________
From the poisonous vile swamps of Black Marsh resides a creature so horrid so tremendously disgusting his only known alias is
The Master of Rotten

CLICK, You know you want to
Go to the top of the page
 
+Quote Post
   
TNinja
post Jun 15 2010, 06:11 PM
Post #4


Level 10
Group Icon

Group: Revolutionary
Posts: 167
Type: Event Designer
RM Skill: Skilled




Well, the "\v[Number]" part will look for the crystal variables.

First, when you assign a variable, you'll see that each variable have digits in front of the names. "\v[0]" command will make the game look for a variable with that number.

When used in messages, it will show how many numbers are stored in that variable.

Like, if you make a variable. Then give that variable a value. Let's see, after each monster killed, the vakue will increase by one. So when you have killed ten monsters, the variable will have registered ten kills. And when you make the mesagebox call the variable, it will say "10".



I'm kinda trouble when explaining about variables.


__________________________
Eye 'em so lolicon.
677,09kb.gif animation incoming, and 20k dancing coconut dude.
Go to the top of the page
 
+Quote Post
   
masterofrotten
post Jun 15 2010, 06:38 PM
Post #5


Level 3
Group Icon

Group: Member
Posts: 43
Type: None
RM Skill: Beginner




Ahha! I got it thanks a bunch helped me out a lot


__________________________
From the poisonous vile swamps of Black Marsh resides a creature so horrid so tremendously disgusting his only known alias is
The Master of Rotten

CLICK, You know you want to
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 18th May 2013 - 09:20 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker