Playable character as enemy

Hey guys, i ran into a little problem here, I'm trying to have one of the playable characters switch sides but i want him to have all skills and items/weapons he had on him. 


Any way to do this?


I haven't been able to figure it out.


:|
Did you want to do this in battle?  Like mid-battle?  Or overall?


Overall you could set them up as an enemy and then have them added to party.  Make sense?


Sorry if not.


- Paw
Well, you'll need a plugin to accomplish having a character sprite as an enemy battler, found on Yanfly's site HERE . (Just in case that's part of the issue) As far as having him be identical when he switches, I guess the best way to do this would be to take a snapshot of his stats just before the betrayal using variables, and then modify the enemy to have those variables set as its stats. Again, you'll have to use a plugin for this one. Only one I could really find is this one: 




You'll have to do a little reading through it to figure out how to translate the variables into direct stats, but it should work (Didn't actually test it, but I read through the script functionality, and it seems like it'll handle this situation just fine). The bits you're looking for are about half-way down the first page.


And finally, as far as equipment goes, that really shouldn't matter since you don't see that on the sprites unless you have a different plugin for that, which, if this is the case, I can try to figure out how to convert that stuff for you, but not promises. I don't speak Java.

Original thread: https://forums.rpgmakerweb.com/threads/playable-character-as-enemy.60920/