Original Source
- Original title: $gameParty.size() is too high
- Original author: ZombieKidzRule
- Original date: December 19, 2023
- Source thread: https://forums.rpgmakerweb.com/threads/gameparty-size-is-too-high.163970/
- Source forum path: Game Development Engines > RPG Maker MZ Support
Summary
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.
Archived First Post
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.
Protected download
I also just tried using this script with the same result of 5 when there are only 4 Actors.
$gameParty.members().length
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...
