Status
Not open for further replies.

Lord Vectra

Master Eventer
Regular
Joined
Dec 6, 2015
Messages
338
Reaction score
422
First Language
English
Primarily Uses
RMVXA

Roninator2

Gamer
Regular
Joined
May 22, 2016
Messages
5,122
Reaction score
1,505
First Language
English
Primarily Uses
RMVXA
Line 448. It should be variable $game_party.total_inv_size
The images show that the number is shown on the inventory screen so this should be what you're looking for.
This should tell you how much is used.
 

Lord Vectra

Master Eventer
Regular
Joined
Dec 6, 2015
Messages
338
Reaction score
422
First Language
English
Primarily Uses
RMVXA
It seems to not work.

unknown.png
 
Last edited:

Sixth

Regular
Regular
Joined
Jul 4, 2014
Messages
2,207
Reaction score
877
First Language
Hungarian
Primarily Uses
RMVXA
That error indicates that you are trying to modify that variable directly outside of it's class, which is only possible if there are methods for it in Game_Party, and if that is an instance variable and not a method. If I remember right, that is a method, so it can not be directly modified in any way.

In case you wanted to check for it's value in your event, you should use a double = sign for that, like this:
Code:
$game_party.total_inv_size == 180
This would check if that variable is 180 or not.
You can also use other check methods if needed, such as: <, <=, >, >=, !=, and some more complex ones, which I will not list now. :p
 

Lord Vectra

Master Eventer
Regular
Joined
Dec 6, 2015
Messages
338
Reaction score
422
First Language
English
Primarily Uses
RMVXA
Fixed it! I had...
Code:
$game_party.total_inv_size = $game_variables[89]

When I should've had...
Code:
$game_variables[89] = $game_party.total_inv_size

I done goofed XD, but thanks for trying to help everyone ^_^ *likes everyone's reply*
 

Ms Littlefish

Time Traveling Victorian Vampire
Global Mod
Joined
Jan 15, 2014
Messages
8,083
Reaction score
11,719
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

AAAGH... I hate navigating the new RPG Maker website!
Forgive my rudimentary video editing skills, thought I'd start sharing progress on my status posts as well. Here's the second character of my roster, Mǽlhafoc, the Ælven ranger.

And if you missed the first one many moons ago, here's Vilhelm, the tarnished knight.
Knocked through three more rough draft sprites. (A frog beast thing, a skeleton, and vampire bat) down to seven sprites and a thing more appropriately done as tiles.

Forum statistics

Threads
135,013
Messages
1,252,903
Members
177,934
Latest member
Ehsan
Top