adding members to party without changes in line-up

Status
Not open for further replies.

hian

Biggest Boss
Veteran
Joined
Feb 26, 2013
Messages
603
Reaction score
459
First Language
Norwegian
Primarily Uses
As the title says.

I have this issue that I want to add a character to my party prior to a fight, but when I do this, the new character becomes the default party leader, which ruins my cut scene, because the hero is suddenly swapped out for this new member.

It is getting on my nerves real bad, so please halp!!
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
that's weird... hmmm.. maybe you could just reorder the party (using script calls maybe) after adding the new member?
 

hian

Biggest Boss
Veteran
Joined
Feb 26, 2013
Messages
603
Reaction score
459
First Language
Norwegian
Primarily Uses
That too would be a problem - not just because I don't know how, but because it would still mean that the hero would be replaced for a moment.

I just want the hero to stay party leader - omg why is this so difficult! I'm almost pulling my hair out over this!

Thanks for trying though! And for the quick reply!
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
I think I saw a fixed party leader script somewhere... Or.. hhmmm... I'll go check the scripts and see what happens during actor add...

w8, does the actor that you add on a lower index in the database than the current leader? if yes, then maybe you can just put him in a higher index like the last index of actors maybe
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,367
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
As the title says.


I have this issue that I want to add a character to my party prior to a fight, but when I do this, the new character becomes the default party leader, which ruins my cut scene, because the hero is suddenly swapped out for this new member.
Stop


One step back


Default behaviour of Ace is that newly added members become the LAST members of the party.


If the newest addition becomes the first member instead, then you have a script that changes default behaviour.


Look for that script and change/remove it there
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
854
First Language
English
Primarily Uses
RMMV
Hmm, that is very odd. I cannot reproduce the behavior that you are experiencing. Whenever I add a new member, that member is on the end of the party list, not the beginning. Perhaps you can take a screen shot of the event leading up to the battle? Or perhaps there is another script that is sorting the party list?
 

hian

Biggest Boss
Veteran
Joined
Feb 26, 2013
Messages
603
Reaction score
459
First Language
Norwegian
Primarily Uses
I am using the yanfly party script. I did look at that first, but as far as I can see nobody else seems to have this problem.

The yanfly script does have a script call for locking party members in place, but that has no effect whatsoever.

Appart from this, no other script I'm using effects the party.

I can say for sure that there is no issue with the event, as no other aspect of my event deals with the swapping of party members.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
which yanfly script?
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
I don't see anything that sets additional actors to be the leader...

btw, this means that the new actor becomes the first actor in battle too right?
 

hian

Biggest Boss
Veteran
Joined
Feb 26, 2013
Messages
603
Reaction score
459
First Language
Norwegian
Primarily Uses
Yep. It essentially pushes to previous leader down a spot.
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
854
First Language
English
Primarily Uses
RMMV
Huh, well, I am trying to recreate the error in the Party System script, but I cannot. I add two different characters directly before entering a battle, and the pair are added to the end of the party list. I also have a message pop up which displays the name of the first party member, which is always exactly who I expect it to be.


What you might try is doing a global script search (right-click on the left pane and choose the 'find' option) for the method 'add_actor' to see if there are possibly any other scripts that might be causing the foul-up.
 

hian

Biggest Boss
Veteran
Joined
Feb 26, 2013
Messages
603
Reaction score
459
First Language
Norwegian
Primarily Uses
Thanks I'll try that when I get back to my computer!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,367
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
I am using the yanfly party script. I did look at that first, but as far as I can see nobody else seems to have this problem.


The yanfly script does have a script call for locking party members in place, but that has no effect whatsoever.


Appart from this, no other script I'm using effects the party.


I can say for sure that there is no issue with the event, as no other aspect of my event deals with the swapping of party members.
If that script call doesn't work, then either you're using it in the wrong place, or you have another script that disables part or all of yanfly's party script. Considering that your party member adding behaviour doesn't fit either default nor Yanfly's, I think that you do have another script changing party behaviour installed, wether you remember installing it or not.
First, check for unnamed scripts: if you placed a script without naming it, it will appear to you in the script editor as an empy slot in the script list. Click on every empty line and check if those are realls empty.


Second, make the search mentioned above to find out if one other script is affecting that function directly without your knowing


Third, disable your scripts one at a time, checking add member behaviour after each one, until you found one of the conflicting scripts if the second step didn't find anything


fourth, test everything in a new project (adding all scripts, but using only new, primitive maps) to test whether the effect is caused by a changed default script


fifth, link us to all the scripts you've used, so we can check if you still don't find the cause of the problem.
 

hian

Biggest Boss
Veteran
Joined
Feb 26, 2013
Messages
603
Reaction score
459
First Language
Norwegian
Primarily Uses
Thanks for the info.

That seemed to have done the trick! I guess this can be closed then.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,367
Reaction score
7,676
First Language
German
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.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,085
Members
137,583
Latest member
write2dgray
Top