Status
Not open for further replies.

Lord Vectra

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

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,537
Reaction score
855
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
245
Reaction score
352
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
245
Reaction score
352
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,114
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 Profile Posts

At work.
Co: "This bug drove me insane. I tried a lot of things to debug, it just stuck".
Me: "How did you debug it?"
Co: *shows a complicated debugging method using breakpoints and everything*
Me: "What about ... " *casually prints a stack trace in the try/catch exception
Co: "Wait, you can do that??"
Totally original and unique OC
Harold.png
So after completing the Mass Effect Trilogy the first time as a Vanguard, I decided to replay the trilogy as a Soldier. Thus far, I've just finished the Horizon mission in ME2, and I'm already exhausted from ME2's f**k-awful enemy design.
Yeah, now Yes !!!! "boom boom "
"Fire the monsters, guards!!!"

index.php
I can't stop buying resource packs I'll never use, or engines for that matter, or free resources as my two terabyte external will attest. I am a digital hoarder I guess. Some people get drunk off the silly juice when they are bored, I just buy shiny digital nonsense I don't need.

Forum statistics

Threads
118,652
Messages
1,117,584
Members
155,760
Latest member
Aevea
Top