Status
Not open for further replies.

Atomicrain

Villager
Member
Joined
Oct 8, 2021
Messages
10
Reaction score
7
First Language
English
Primarily Uses
RMMV
So I am making a Pokemon fangame (not to sell, just as a "me" thing), but it's more of a Pokemon Mystery Dungeon style setting with RPG Maker mechanics. I have Yanfly's Party System Plugin installed, and I was wondering if how I could recreate a few moves using this system.

The main problem I have is I don't know how to make skills change the order of the party. I know it's possible; a game I played called Odyssey of Gianna (not sure if I can link to it, since it contains NSFW subject matter) had certain enemies use skills that could blow a member to the back of the party (or even remove them from the battle entirely), as well as Blow Away and Retreat which have the same effect. I just don't know how to do it.

Here are a few moves in particular I want to recreate:

Baton Pass
Using this skill would send the user to the back of the party. This should be simple enough, but if I could make it so the replacement recieves any buffs or debuffs the user has, that would be a nice bonus.

Ally Switch
Simple effect here, the user switches its position in the party with their ally. I feel this would be the simplest one to implement.

Circle Throw/Dragon Tail
I feel this one wouldn't be too hard either. The attack deals damage and, if the target is an actor, sends them to the back of their party. This is a similar effect to what I have in mind for Baton Pass, too.

So yeah, my problem isn't that my ideas are too complex, it's just that I can't for the life of me figure out how to make skills that affect party order. If I'm missing something (which I probably am), or if it's just not possible with the Yanfly Engine (which I highly doubt since Gianna got it working just fine), feel free to let me know.
 

palatkorn

Veteran
Veteran
Joined
Nov 1, 2019
Messages
308
Reaction score
257
First Language
thai
Primarily Uses
RMMV
I know there is this plugin. Row To define a row of performers
This can do a lot to modify the position.
 

Atomicrain

Villager
Member
Joined
Oct 8, 2021
Messages
10
Reaction score
7
First Language
English
Primarily Uses
RMMV
I know there is this plugin. Row To define a row of performers
This can do a lot to modify the position.
That's not what I'm looking for. I'm looking for a way to change which actor is in a given party position in the middle of battle, similar to the Actor Party Switch plugin, and I want to create a skill that can do this. A row system will not help me here.
 

palatkorn

Veteran
Veteran
Joined
Nov 1, 2019
Messages
308
Reaction score
257
First Language
thai
Primarily Uses
RMMV
If you mean like this, no plugin is needed.
It can use common events to summon an actor when using a skill.
You just go to skill settings and put it into common events to add actors.

 

palatkorn

Veteran
Veteran
Joined
Nov 1, 2019
Messages
308
Reaction score
257
First Language
thai
Primarily Uses
RMMV
This post may help you determine the team leader.
 

Atomicrain

Villager
Member
Joined
Oct 8, 2021
Messages
10
Reaction score
7
First Language
English
Primarily Uses
RMMV
If you mean like this, no plugin is needed.
It can use common events to summon an actor when using a skill.
You just go to skill settings and put it into common events to add actors.

You seem to be confused. I'm not adding anyone that wasn't already in the party, I'm just swapping their positions around.

This post may help you determine the team leader.
That only works when swapping with the leader. What if I want to swap the actors in positions 2 and 3?
 

palatkorn

Veteran
Veteran
Joined
Nov 1, 2019
Messages
308
Reaction score
257
First Language
thai
Primarily Uses
RMMV
Call the SceneManager.push(Scene_Menu) script.
Summons a skill to a common event. But this is not closed. Other menu screens
To do this, to show only certain things, you need to redraw. and yes i can
I will do a menu, only summoning the character switch from the skill. the way you want
I am now doing something else
 

palatkorn

Veteran
Veteran
Joined
Nov 1, 2019
Messages
308
Reaction score
257
First Language
thai
Primarily Uses
RMMV
i'm done It can move rows as soon as it wants.
Change the team leader whenever you want.
To summon from a skill, use the command.
Plugin command

PLK_Partychange open

Download
 

Atomicrain

Villager
Member
Joined
Oct 8, 2021
Messages
10
Reaction score
7
First Language
English
Primarily Uses
RMMV
i'm done It can move rows as soon as it wants.
Change the team leader whenever you want.
To summon from a skill, use the command.
Plugin command

PLK_Partychange open

Download
Thanks for trying to help, but I've already figured out how to switch party members in battle.

Here is the complete code for Ally Switch if anyone wants it.
Code:
//Requires YEP_SkillCore.js and YEP_X_SelectionControl.js

<After Eval>

if(user.isActor()){

  if(target.isActor()){

    $gameParty.swapOrder(user.index(), target.index());

  }

}

</After Eval>



<Select Conditions>

Not User

</Select Conditions>
 

palatkorn

Veteran
Veteran
Joined
Nov 1, 2019
Messages
308
Reaction score
257
First Language
thai
Primarily Uses
RMMV
var a, b
a = $gameParty.members().indexOf($gameActors.actor(1));
b = $gameParty.members().indexOf($gameActors.actor(2));
$gameParty.swapOrder(a, b)

Try this, it will toggle between characters 1 and 2. Press F8 and try to test the changes.
Trying the test again will get the same result.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
16,621
Reaction score
9,217
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

So I finally played Persona 4 to see what it's all about. I'm like wait...what the...this is JOJO!
Map025.png

The second settlement you'll visit in my newest game. The small village of Teytal.
sketch 4 an opening cinematic in my gameeee >:]
Untitled_Artwork_16.jpg
oh god how do I add pictures on here it keeps saying i need a link <--( suddenly forgot how technology works )
avery wip.png

"i have to work in like 5 hours ... let's start the main character's face set"
--me, an adult for the past 20 years

Forum statistics

Threads
123,163
Messages
1,154,506
Members
161,519
Latest member
R1bka
Top