How do I check if a certain actor is in a certain party slot (RMMV)

I need to know so I can check something. Any scripts or event commands?
control variable

you can use the game data section to get the ID of the actor in the selected slot, and then compare that to the number you want with conditional branch

absolutely no script needed.
Hello again Marcelo!

You can also use a common event and call it on the events you want "to do the party checks" with variables and conditional branches, so you don't need to do it again and again for every event.

Spoiler
Sorry for my self-promotion here, but I'm workin on a project to teach people how to develop games with RPG Maker MV, and by coincidence I'm working on the variables lesson right now. I'll be publishing it probably today or tomorrow and most of these questions will be covered.

It's the project from my signature! 😉

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-check-if-a-certain-actor-is-in-a-certain-party-slot-rmmv.136494/