==========Description==========
I present to you a mod for a button that separates units into individual creatures; something that was sorely lacking in the game. Initially, I planned for it to appear in the MCCS compilation, but due to the author's busyness, I decided to release it myself and separately. The appearance of the button is accompanied by some awkward and inconvenient moments, but let's see if the functionality itself will compensate for these shortcomings. This mod is a kind of gift from me to the community.
==========Functionality==========
The button is represented as a spell in the spellbook.
When clicked, you will be prompted to:
1. Remember the selection. When "enabled," it will automatically separate the last selected type of creature into individual units at the end of the battle. As soon as the creatures run out (there are fewer than 2 left), the separation of creatures will stop.
2. List of creatures. You will receive a complete list of your creatures, and by selecting each one, you will separate the creature into individual units. Important! The maximum possible number of units is always separated.
==========Installation==========
Unpack the archive included in the theme, place the split.pak file in the GameFolder/data/ folder, and place the zip folder with the patcher wherever it is convenient. Important! All maps must be patched to enable scripts for the button to start working. To do this, run the shortcut from the archive with the patcher and select the game folder. All existing maps will be patched.
==========Compatibility==========
It is installed only on version 3.1. The map may be incompatible with custom scenarios containing scripts, as well as with mods containing scripts. When playing a custom map with scripts and with the mod installed, you can not patch this map.
You can ignore an error like this:
In subsequent versions, I will try to remove these errors. They do not affect anything
Report all bugs in this thread, and I will try to fix them. The mod may be a bit rough, as it was made in a pre-New Year rush.
Auto-translated