✍🏻 User Tutorial: Party Switch

In this tutorial, you'll learn how to switch control of party leader with another follower. Before reading this tutorial written by ⭐ Rizuki Keiji ⭐, make sure you've practiced this tutorial. Here's what you're gonna achieve with this tutorial.




1. Set shortcut in Keyboard & Gamepad Plugin
Example


2. A Common Event to make Switch Party Member System

$gameParty.members().length === x (This is to check if our party size = 2 members). (Rein and Ariana switch position in this case (2 members))



$gameParty.swapOrder(0, 1) is for switch Party Leader between the first and the second Actor.
If there’s 4 Actors you want to switch in the party, use this in right order
$gameParty.swapOrder(0, 3)
$gameParty.swapOrder(0, 2)
$gameParty.swapOrder(0, 1)



You need to make 4 Variables (2 Variables for each member including Party Leader)
This is needed to store your Character position on the map and it’s the same variable
for Spawn your target Party Member to your position before you Teleported to the
target Party Member (This combination make it looks like switching. dotMove need-
ed for precision position).



3. Another Common Event to store your Party Member actively



This is an example if there’s only 2 Characters in your Party
If there’s 3 or more, you need to make another Common Event that looks like this for each other Members(not Leader).
And then, let’s put this Common Event inside the Template Event for Spawned Member.



You need 2 of this (if there’s 2 Characters including Party Leader) or more depends on how much Characters in your game.
I add <ally> notetag just like if you make an enemy with <enemy> for targeting mechanism or else.

4. [Optional] Dynamic Facing Direction



Currently I haven’t found the solution, the Party Leader could follow the Facing Direction of target Member(current Party Leader), but not the previous Leader(current Party Member).

My suggestion, try to make it reversed, I means only the previous Leader(current Party Member) that follow previous Facing Direction.
Then the target Member(current Party Leader), probably will start by facing down, but it’ll immediately changed if your analog/d-pad/wasd are on hold(Just how a gamer usually do XD).
This will result semi-dynamic for the Party Member, and the Party Leader will suit itself with Player Controller 😊






5 RPG Maker Action Combat Manual: ✍🏻 User Tutorial: Party Switch In this tutorial, you'll learn how to switch control of party leader with another follower. Before reading this tutorial written by ⭐  R...
< >