Grunwave

Veteran
Veteran
Joined
Feb 4, 2017
Messages
643
Reaction score
189
First Language
English
My party is forced to fight their mirror.

(my game has 23 chars, of which you can have 4 in your party - if this matters)

Mirror fight would be an exact duplicate of your group.

I can think of a couple ways to do this, but are there commands to set stats of Enemies to certain Actors? I think this is the most important question to answer.

If you have other suggestions for how this might be more elegant, please advised.


Thank you in advance,

GEA
 

JoTerra

Protector of the Earth, God of Courage
Veteran
Joined
Jun 29, 2017
Messages
65
Reaction score
66
First Language
Spanish
Primarily Uses
RMMV
For replicating your actual group, you create 4 template enemies, empty, plus your actual enemies. And then using this script call at turn 0 at battle:
$gameParty.battleMembers().contains($gameActors.actor(ActorId))
You check for all actors, and then based on the actor that is on the battle party, you replace (transform enemy) the template enemy with their mirror (not elegant but works).
Though you might have a problem with what would be the enemy to replace

As for your second question, i don't understand it quite but you can use YEP_EnemyLevels and set <Custom Parameter stat Formula> for each enemy (requires a bit of javascript) to the gameActor the enemy is the mirror of.

It would be something like this:
<Custom Parameter stat Formula>
$gameActors.actor(1).atk(replace with desired stat) + 0;
</Custom Parameter Formula>

The second part might not work as i haven't tried it, but the first works as intended.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,352
Reaction score
15,167
First Language
English
Primarily Uses
RMMV
I have on my to-do list a task to make a tutorial to do this sort of thing. If I get it done in the next couple of weeks I'll let you know.
 

Latest Threads

Latest Profile Posts

My Overworld might be a mix of inspiration from 2D Final Fantasy games, Breath of Fire, Battlechasers: Nightwar, Super Mario World, and Pillars of Eternity. If I can make it more in-depth than just walking from point A to point B, that might do a lot for the gameplay experience. Hmm...
Terribly depressed. Worst birthday I've had in years, no motivation to work on anything. Still no income. At least I've got my computer running again.
Doing RPG Maker News for 19th September 2021

Stream will be live with some Dark Souls 3, followed by a session of the Interactive Text Adventure! Feel free to drop by!

Forum statistics

Threads
115,205
Messages
1,088,026
Members
149,779
Latest member
kctsteve
Top