WilliamHughes

Veteran
Veteran
Joined
Feb 9, 2016
Messages
55
Reaction score
7
First Language
English
Primarily Uses
I am using Yanfly's Row formation plugin. I am trying to make it so every battle, the entire party starts in row 3. I can use 


SetPartyRow 1 3


SetPartyRow 2 3


etc to set a person to a certain row, using BaseTroopEvents plugin to make it occur during all battles. My problem is that if I use just those two lines, then only the first two party members reset. If I have 


SetPartyRow 3 3


when there are only two people in the party, the game crashes.


Is there some way to have SetPartyRow occur a number of times equal to the number of party members I have? 


Or is there a better way to do this entirely that I'm overlooking?
 

MenaKatep

Veteran
Veteran
Joined
May 11, 2016
Messages
67
Reaction score
24
First Language
English
Primarily Uses
You can detect the number of party members and set the number to a variable (in this case 15) with this script. Then you can use an if conditional to do row resets. :)

 

Code:
$gameVariables.setValue(15, $gameParty.members().length);
 
Last edited by a moderator:

Latest Threads

Latest Posts

Latest Profile Posts

If only RM had the capability to show whether a project has been edited, or not... like 99% of all other editors out there. That don't cost, too, or release new versions with very few features just to get the extra money... ugh, just too many basic features missing even after, what, two decades?
Surgically removing people's faces and grafting them on to other people is kind of fun.

(editing character art busts for my game)
I think sleep is like a foreign language to me.
I really love it when major blocks preventing me from going all out in game design get shattered.

Like finally developing a fully functioning Technical Machine system where certain characters cannot learn certain moves.

You have no idea how much that helps me.

Forum statistics

Threads
118,819
Messages
1,118,953
Members
156,003
Latest member
arsenic333
Top