Status
Not open for further replies.

Lord Vectra

Master Eventer
Veteran
Joined
Dec 6, 2015
Messages
241
Reaction score
349
First Language
English
Primarily Uses
RMVXA

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,392
Reaction score
810
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
Veteran
Joined
Dec 6, 2015
Messages
241
Reaction score
349
First Language
English
Primarily Uses
RMVXA
It seems to not work.

unknown.png
 
Last edited:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,201
Reaction score
854
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
Veteran
Joined
Dec 6, 2015
Messages
241
Reaction score
349
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

Dangerously Caffeinated
Global Mod
Joined
Jan 15, 2014
Messages
6,417
Reaction score
8,113
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

Last monday Hawkzombie played ATV.

Here are the videos:


Yes, I'm alive. No the semester didn't kill me. Though there are days I feel like I am dead.
In the review stages for Pixacrea to be put up on Steam :) Coming Soon page... hopefully coming soon ;)
since all my maps are hand drawn... I admit, I super envy those who can make the tileset's work. I'm garbage at mapping, but slightly less bad at just drawing my own areas. plus it's easier to draw my own sprites than edit others to look like my characters.
Guys, I made a trailer! And, I also launched the Steam page! If you would like to support the game, please Wishlist it :ahappy: ->

Forum statistics

Threads
117,288
Messages
1,106,165
Members
153,476
Latest member
Jadened
Top