Status
Not open for further replies.

Lord Vectra

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

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,701
Reaction score
1,329
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
324
Reaction score
412
First Language
English
Primarily Uses
RMVXA
It seems to not work.

unknown.png
 
Last edited:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,206
Reaction score
874
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
324
Reaction score
412
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,119
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

Shoot.gif
Because The Fury from Metal Gear Solid 3 is one of my favorite bosses of all time, I felt the need to make a somewhat similar boss for my own game. taking cues from both the Fury and another awesome astronaut boss, Captain Vladimir from No More Heroes 2.
RE4make almost had me with their demo until I got to the dog stuck in a bear trap and realized that he was dead and could no longer be saved. Just not the kind of reimagining I'm interested in.
Here's some dudes that I'm drawing for Jimmy's Quest!
autredo.png
Autism Acceptance Month 2023!


Did this randomly in my free time, I guess today is a good day to show it.

Forum statistics

Threads
130,023
Messages
1,207,106
Members
171,288
Latest member
oscerr
Top