[RPG Maker MV] Conditional Branch: Party Leader

I want to be able to have events react to whoever is in the current leader position (Front line) using the Conditional Branch event command: I was able to do this back on RPG Maker VX Ace, where I would use the script option in the Conditional Branch using: " $game_party.leader == $game_actors[1] "


But it doesn't work with MV. Can I get some help with making this work for MV? Thanks.
it's a lot easier to do it without scripts (both in Ace and in MV), you'll simply need two commands instead of one.


1) control variable : game data : party : member #1's ID


This will load the ID of the party leader into the variable


2) conditional branch : var = [number of actor you want to check for)
@Yuu-MonThis is how the script call looks in MV




Alternatively you can work with ID's directly (assuming the leader is always an actor)
 
All right. I tried both of them out, and they both work just the way I want it. (I keep forgetting about  variables and that's not a good thing...) So thanks a lot, this helped me out.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mv-conditional-branch-party-leader.56750/