Not too sure if this is entirely possible, but...
I'm kind of planning a betrayal in my RPG.
Like
One of the party members, with their exact skillset and stats, is the enemy and everyone minus the betrayer fights him
The question now is...
how do I make an actor's stats influence an enemy's?
I think it would be helpful if you were to edit your title to give a better indication of what your query is. Not only would it help members be aware of what you were looking for so that they can decide to open the thread or not, it would also be more helpful to future members who have a similar query. At the moment, it is only the very last sentence which tells me what it is you are wanting.
Here is one way to go about it:
Plug this in as a script (event) in the battle troop event window
for (var i = 0; i < $gameTroop.members().length; i++) {
for (var j = 2; j <= 7; j++) {
var adjust = $gameActors.actor(actorId).level;
$gameTroop.members().addParam(j, adjust);
}
}
This adds actor's (with an actorID of something) level to each of the enemy's stats (atk/def/mat/mdf/agi/luk)
Run this on turn 0
This essentially makes the enemy stronger the higher the level of a particular party member
If you want to set the enemy's stats to be the same as one of your player's stats (lets assume actor 3 is the traitor)
$gameTroop.members()[0].addParam(0, $gameActors.actor(3).mhp);
$gameTroop.members()[0].addParam(1, $gameActors.actor(3).mmp);
$gameTroop.members()[0].addParam(2, $gameActors.actor(3).atk);
$gameTroop.members()[0].addParam(3, $gameActors.actor(3).def);
$gameTroop.members()[0].addParam(4, $gameActors.actor(3).mat);
$gameTroop.members()[0].addParam(5, $gameActors.actor(3).mdf);
etc. etc.
$gameTroop.members()[0].gainHp($gameTroop.members()[0].mhp);
Make the Battle troop have 1 enemy and set that enemy to have the same looks as the traitor. Also set their stats to 1 since you will be adding all these values to that enemy when you start the battle.
As for copying equipment bonuses, skills etc.
Well that's going to require a lot more effort (above my comprehension)
ksjp, noted. I will do that in future forum posts. That title was literally meant as curiosity bait, pretty sure that didn't work.
Boomy, thank you so much! This seems like it will work out swimmingly.
Thank you, both of you.