Dropping off and picking up unknown party members?

I have this really crippling problem in my game currently that I can't figure out how to work around.

So I'm using AwesomeCool's monster capture script, since there's monster catching in the game, and so far the only monster catching script I could find.

And how I assume it works is that it creates an entirely new Actor whenever a monster is captured.

So I wanted to have some places in the game you can drop off your party monster.

You'd be able to retrieve them back afterwards. But because I can't figure out their specific ActorID, I hit a wall.

(I wanted to have functions like being able to check their status too but that's optional I suppose)

I thought maybe I could use

'Show Choices:

 1st Party Monster

 2nd Party Monster

 3rd Party Monster'

Then after that use a command or something that picks out their position in the party at that current time, make that monster leave the party, and that would settle the dropping off.

But then I can't figure out how to bring them back into the party.

Whether the monster could've been like a Slime or a Bat or a Spider or a Plant, I don't know how to make it figure it out.

Is there a way to... Either store that party member's ID into a variable so I can call it back, or plainly just detect what party member it is and store it somehow.

Or is there a more efficient way of doing this overall?

Thanks in advance!
It's in the control variable command:


control variable : game data : party member #?'s ID
It's in the control variable command:

control variable : game data : party member #?'s ID
Oh, wow, how did I miss that. I kept thinking the solution HAD to be a script call.

Thanks Andar!

Original thread: https://forums.rpgmakerweb.com/threads/dropping-off-and-picking-up-unknown-party-members.42523/