Tell me the rmmz plugin for a full extension of troop, not visustella
Please
Please
Yes, that's what I mean.
Unfortunately it doesn't give control over added enemies through events
Oh, how is it possible to do this?
forums.rpgmakerweb.com
I've moved this thread to Plugin Requests (from MZ Support). Thank you.
addChildAt based on relative enemy Y-coordinates. Because it sorts the enemies, then tries to add the sprites at the correct places. for (const s of es) {
ss._battleField.addChildAt(s, ss._enemySprites.indexOf(s));
if (s._battler.isAppeared())
s.startEffect("appear");
}
for (const s of es) {
ss._battleField.addChild(s);
if (s._battler.isAppeared())
s.startEffect("appear");
}
const b = ss._battleField.children;
for (const s of ss._enemySprites) {
const t = b[b.indexOf(s)];
if (t) // jic
ss._battleField.swapChildren(s, t);
}
VisuStella makes their code deliberately difficult to read, so if there is an incompatibility issue then you're basically forced to work with what VisuStella offers (or find an alternative to their plugins).
Thank you, this helped, but how do I interact with the enemies that appeared?
The added enemies should be selectable as usual. If not, then that is probably a plugin conflict.
for (const nme of M)
nme.setLetter("");
onBattleStart call: for (const nme of M) {
nme.setLetter("");
nme.onBattleStart();
}
forums.rpgmakerweb.com
I noticed another bug, when reinforcing, the enemy layers are displayed incorrectly, meaning the bottom layer of enemies moves forward
I cannot reproduce that, so it is probably one of your other plugins causing it. Cae_Tweaks D20 does not even look at enemy screen positions. Also, by default MZ has no such thing as "the bottom layer" of enemies: enemies are positioned on screen via the Troops tab of the Database.
How can I activate the event window in battle using scripts?
what does that question have to do with anything in this topic?
Original thread: https://forums.rpgmakerweb.com/threads/rmmz-plugin-for-a-full-extension-of-troop-not-visustella.175013/