Documentation
Quick InfoVersion: Alpha
Made for RPG Maker MZ 1.9.0
Main FeaturesFormation Lock
This plugin allows you to lock actors so they cannot be swapped with the formation command in the menu. This lock can be changed mid-game by using the plugin command to change an actor's lock status.
Battle Member Only
This plugin allows you to mark actors as battle members. This will mean they cannot be swapped via the formation command in the menu out of a battle slot, but they can still be moved around within the battle slots. This can be changed mid game by plugin command. Note that actors can still end up outside of a battle slot with this enabled if you add them while the max battle slots are already filled.
Max Battle Members
You can set a variable in the plugin parameters which will control the max actors that can participate in battle. If this variable is not set OR it has a value of 0, the default battle member max will be used instead. Note this plugin does not change battle ui, so while more than 4 actors can work it may look a bit odd. If allowing more than 4 battle members, you should also use a plugin that can change battle ui to allow for better ui with over 4 members.
Alternate Parties
This plugin allows you to set up alternate parties which can consist of different actors than your main party. There is no limit. You can swap back and forth between various parties via plugin command. This can allow you to event the party splitting up more easily. If you would also like to split up the inventory, you can use [CGMZ] Multiple Inventories for that. This plugin's alternate party system only affects which actors are in the current party the player will see, not the inventory.
Note TagsThis plugin supports the following note tags:
<cgmzformationlock>
Used on Actor objects. This note tag will cause the actor to start the game with their formation lock status set to true (they cannot be swapped when using the formation command in the menu). Note that this only affects the actor at the start of the game! You can still lock or unlock the actor by code or plugin command!
<cgmzbattlelock>
Used on Actor objects. This note tag will cause the actor to start the game with their battle lock status set to true (they cannot be swapped out of a battle slot using the formation command in the menu). Note that this only affects the actor at the start of the game! You can still lock or unlock the actor by code or plugin command!
Alternate Party IdsCasper Gaming typically uses strings for ids. These are more versatile than numbers, as they allow you to name things. For example, if you want a main party (hard-coded to 'default') and a sidekick party, you can make the sidekick party id 'sidekick' which is much easier to see in your events than if they were party 0 and party 1.
You CAN use numbers, but behind the scenes they will be treated as a string. You should not use spaces or symbols in your party ids. Note that ids still need to be UNIQUE. This means you cannot have 2 parties with the id of 'sidekick'.
The main party you start the game with will always have the id 'default'.
Plugin CommandsThis plugin supports the following plugin commands:
Change Formation Lock
Either lock or unlock an actor's formation. Locked = they cannot be swapped while setting formation. Unlocked = their spot can be swapped.
Change Battle Lock
Either lock or unlock an actor's battle participation status. Locked = they cannot be swapped out of a battle slot. Unlocked = they can be swapped out of a battle slot.
Create Party
Creates an alternate party, optionally provide party members that will be added to this alternate party.
Switch Party
Switch between parties. Created alternate parties use the id you set when using the Create Party plugin command. The default party you start the game with uses the party id of "default".
Add Actor To Party
Adds an actor to a party by party id. This can allow you to add actors to alternate parties that are not currently active so that later when the player swaps to that party the actor is present. Note they will be added to the end of the party (last slot).
Remove Actor From Party
Removes an actor from a party by party id. This can allow you to remove actors from alternate parties that are not currently active so that later when the player swaps to that party the actor is not present.
Saved GamesThis plugin is fully compatible with saved games. This means you can:
✓ Add this plugin to a saved game and it will work as expected.
✓ Change any plugin params and changes will be reflected in saved games.
✓ Remove the plugin with no issue to save data.
Filename
The filename for this plugin MUST remain CGMZ_PartyManager.js. This is what it comes as when downloaded. The filename is used to load parameters and execute plugin commands. If you change it, things will begin behaving incorrectly and your game will probably crash. Please do not rename the js file.
Known Issues
This plugin currently has no known issues that need to be fixed. If you believe you have encountered a bug, please report it to Casper Gaming.
Compatibility
This plugin currently has no known compatibility issues with other RMMZ plugins. If you believe you have encountered a conflict, please report it to Casper Gaming.