How to control formation with event

Hi all,


I'm wondering if it's possible to change the formation of your party using events? I want to be able to cycle through the party. So say the party has 3 members A, B, and C, and A is currently the party leader. When you click the event, it should make B the leader. Clicking it again would then make C the leader, and again would change the leader back to A. Is there a script call for this? I know in VX Ace it was done like this: 


http://forums.rpgmakerweb.com/index.php?/topic/16099-using-an-event-to-change-party-formation/


but this method doesn't translate into MV script and just throws an error.


I tried checking the master script call spreadsheet (https://docs.google.com/spreadsheets/d/1-Oa0cRGpjC8L5JO8vdMwOaYMKO75dtfKDOetnvh7OHs/edit#gid=0) but found nothing.


Any ideas?
Script calls can't just be ported from Ace to MV - they use completely different scripting languages and syntaxes.


Something like this might work to just take the first party member and make them the last party member:

Code:
$gameParty._actors.push($gameParty._actors.shift());
$gamePlayer.refresh();
$gameMap.requestRefresh();
Ah I understand, your answer was what I was hoping for. It works perfectly, thank you!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-control-formation-with-event.63232/