Game (functions)/Team Management
From PMDOWiki
GAME:GetTeamLeaderIndex
Returns the index of the currently player controlled entity in the party.
Returns
Index of the currently player controlled entity in the party.
GAME:SetTeamLeaderIndex(System.Int32)
Sets the leader to the chosen index within the party.
Arguments
idx: The index of the team member within the team.
GAME:SetCanSwitch(System.Boolean)
Prevents or allows the switching of leaders for the save file.
Arguments
canSwitch: Set to true to allow switching, set to false to prevent it.
GAME:SetCanRecruit(System.Boolean)
Prevents or allows the joining of recruits for the save file.
Arguments
canRecruit: Set to true to allow recruit joins, set to false to prevent it.
