RPG Maker Forums

I've been replaying It's Our Revolution by Wood Penguin, and I really like the idea of having party members leave when defeated, and you having to go find the place you first recruited them to have them join you again.

Unfortunately, I have no experience with Javascript beyond the stuff I've found on the RMMV Script Calls sheet. What I was thinking of potentially doing was this:

1. When Actors get Knocked Out in a battle, have their IDs added to a variable as an Array.
2. After a battle is complete, put that array into $gameParty.removeActor().

I just don't know how to put that code together.

I also need to make Actors show up back at their original position for recruitment again. I was planning on using Common Events like so:

If: Script: $gameActors.actor(7).isDead()
Script: var key [5, 27, A]
$gameSelfSwitches.setValue(key, false)

And then repeating that for every possible Actor. Is there a more succinct way of writing this, or is this the best way to set this up without needing to make a Plugin Request?

Latest Threads

Latest Posts

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,047
Messages
1,018,540
Members
137,834
Latest member
EverNoir
Top