$gameParty.size() is too high

Ok, so I must be doing something wrong or missing something obvious. I thought this was really simple.

I only have 4 Actors in my database and I have all 4 Actors set to be in the party at the start of the game.

Yet when I try to use the $game.Party.size() to get the number of Party Members, it returns a value of 5 instead of 4.

I know I am tired from working on the Game Jam, but I don't understand what I am doing wrong.

Here is a screenshot of the script I am using. Any help is greatly appreciated.

Party Size Script.png


I also just tried using this script with the same result of 5 when there are only 4 Actors.

$gameParty.members().length
I dunno, it works correctly for me - I think you must have a phantom actor or something left in your starting party.

Try deleting the entire starting party in the database, make sure you can only click to highlight the top row there - if you can click more than that, there are empty actors. Then add them back in.
@ATT_Turan Thanks! That worked!

I went System 1 and deleted all the rows and added the Actors back it and now it works perfectly.

It was driving me crazy.

Original thread: https://forums.rpgmakerweb.com/threads/gameparty-size-is-too-high.163970/