RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Party Changer

0 Members and 1 Guest are viewing this topic.

pokeball BK.Offline
**
Rep: +0/-0Level 86
I don't get how I gonna lock actor in party, when I use $game_party.locked.push(actor_id) then it is possebole if the actor I locked is in party then I can change it to extra members and if it is there I can't move it at all.
So my question is: How do I lock an actor in party?

**
Rep:
Level 86
Ok, a glitch was fixed when it comes to locking a person in-party.  As for your question, BK, you use:

Code: [Select]
$game_party.add_actor_to_party(2)
$game_party.locked.push(2)
in a Script call.

pokeball BK.Offline
**
Rep: +0/-0Level 86
thx  ;D
ps. can you make the script so that it allows faces?
« Last Edit: February 13, 2008, 04:16:40 PM by BK. »

***
Rep:
Level 88
I hvave Blizzards Easy Party Changer, but I cant figure it out...I want it to work from the Main Menu in Party Section, like in Aveyond 2. Could this be done somehow? I used the Call Script Command in his instructions in an event, the problem is the player has to step on the event toactivate it and it doesnt appear in the Main Menu. Can someone please help me?

THANX

**
Rep:
Level 85
Hey guys and gals , Im very much lovin the look of this party changer but i have one problem..Im a complete noob. This is my first time so i have no idea how to get it to worl..If you could give me a step by step guide of how to get this working it would be a great help.

*
Resident Cloud
Rep:
Level 91
Quote
#===================================
#  Party Changing System by Leon_Westbrooke
#   -v 1.2
#----------------------------------------------------------------------
#  Instructions:  Place above main, but below all other default scripts.
#
#  Features:
#    -Allows the player to make a party from the minimum to maximum size.
#    -Extra members are limitless.
#    -You can remove a person from the party and put it into reserve using:
#       $game_party.remove_actor_to_party(actor_id)
#    -You can remove a person from the reserve if they exist, and them into
#     the party:
#       $game_party.add_actor_to_party(actor_id)
#    -You can lock a character in reserve or active party by using:
#       $game_party.locked.push(actor_id)
#    -You can set the maximum and minimum number of the party in-game using:
#       $game_party.min_size = x
#       $game_party.max_size = x
#       (NOTE: Do NOT make the max size lower than the minimum size.)
#    -Allows you to use the default add/remove actors command.
#       (NOTE: If you remove an actor with this method, he is gone from both
#              the party and the reserve members.)
#
#  Credits:
#    This setup uses SephirothSpawn's coding to simplify the cursor's position.
#
#
#  Command Quick-list:
#    $game_party.remove_actor_from_party(actor_id)
#      -Removes an actor from the party, and puts them in reserve.
#    $game_party.add_actor_to_party(actor_id)
#      -Replaces the last actor in the party with the actor in reserve.
#    $game_party.locked.push(actor_id)
#      -Locks the actor in place.
#    $game_party.min_size = x
#    $game_party.max_size = x
#      -Sets the minimum and maximum party size.
#
#
#  Notes:
#    This script rewrites these methods from Game_Party:
#      add_actor
#      remove_actor
#===================================


these are the instructions and these bits:

Quote
Command Quick-list:
#    $game_party.remove_actor_from_party(actor_id)
#      -Removes an actor from the party, and puts them in reserve.
#    $game_party.add_actor_to_party(actor_id)
#      -Replaces the last actor in the party with the actor in reserve.
#    $game_party.locked.push(actor_id)
#      -Locks the actor in place.
#    $game_party.min_size = x
#    $game_party.max_size = x
#      -Sets the minimum and maximum party size.

are how you edit the script ingame to make it do what you want. call any of these with a "call script" event command. where it says "actor id" insert the number acociated with that actor. this starts at 0 and then incremenets by 1. x is where you put a number could be anything :D

**
Rep:
Level 85
Hey guys and gals again, I sorry but in really confused..Ive made done the script but im not sure if ive done it right, When i try to start the game it says this

Script 'party changer' line 1:nameerror occured
undefined local variable or  method 'actor_id' for nil:nilclass

So im completly up the duff...If anyone can give me a step by step guide..literally baby steps at a time i woule greatly appreciate it.

 ;D

*
Resident Cloud
Rep:
Level 91
can you give me the line number for that and also anything you entered in a call script event command

**
Rep:
Level 86
If you are loading an old save file, it will mess with it as well.

**
Rep:
Level 85
What do you mean by line number lol, see im a noob, basicly ive messedaround with makin a few characters and items but thats it so everything is standard still.

If you can give me steps as to how you would do it and get it workin that would be great.

« Last Edit: June 18, 2008, 05:16:27 PM by pyro »

*
Resident Cloud
Rep:
Level 91
line numbers appear in the error dialog. however i noticed you included it :(. these tell me/leon exactly where to check to see where its going wrong.

here put the three following commands into 3 seperate "callscript" event options one after the other. Replace x with a number the first one is the MININIMUM size eg. 1 the second one is the max size eg.4 the final line calls the party changer

$game_party.min_size = x
$game_party.max_size = x
$scene = Scene_Party_Change.new

« Last Edit: June 19, 2008, 06:37:35 AM by anchovy »

**
Rep: +0/-0Level 85
Umm...
I want to know how I can customize this....
So, I managed to make it 5 people in one battle, but it can't scroll down, how can I make it scroll down?
The 5th member can't be seen...
« Last Edit: July 26, 2008, 09:47:56 AM by azureXtwilight »
Okay, here I come!!!

*
Rep: +0/-0Level 83
uhhh ummm i got a sorta unrelated issue. well, after adding this script... i got an error in my "Main"... says Line 11 has an incorrect number of arguments... jesus, i never even touched that damn line =\   can anyone help?

double post: gah looks like this page is dead =(

triple post: meh couldnt fix it so i replaced my entire srcipt with the original one that comes with rpg maker xp lol to anyone else with that problem, good luck xP

NAMedit: compressed stupid triple post into one post.
« Last Edit: March 17, 2009, 04:48:09 AM by NAMKCOR »

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
dude, wow, holy shit, you waited all of 2 minutes for a reply and decided it was dead.
seriously.

don't double post, much less triple post.

and give it time for someone to respond, everyone isn't online 24/7 and just waiting for someone to help or fix a problem for.

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Gold - GIAW 11 (Hard)Randomizer - GIAW 11Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Mapping)2012 Best RPG Maker User (Programming)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Best Veteran2011 Kindest Member2010 Best RPG Maker User (Events)2010 Best RPG Maker User (Story)
One: Never EVER do something as stupid as a triple post like that. It just pisses us off.

Two: I tested it out by taking the script and adding it where I'm supposed to, and it works just fine. That means you just did something stupid by either changing something, not copying all of the script, or by putting it in the wrong place.




**
Rep: +0/-0Level 83
I'm like it. very nice. lol

*
Rep: +0/-0Level 83
alright, the script seems to be working beautifully. However, how does one unlock a
character once they've been locked? Is there a way to do that with this script, because I feel like I'm missing something.

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Best Member2012 Best RPG Maker User (Scripting)2012 Favorite Staff MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Favourite Staff Member2011 Most Mature Member2011 Best Veteran2011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2010 Best RPG Maker User (Scripting)2010 Best Use Of Avatar And Signature Space
Try:

Code: [Select]
$game_party.locked.delete (actor_id)

*
Rep: +0/-0Level 83
yup that worked. Thanks for the hand.

**
Rep:
Level 83
プログラマです
Hey, cool script.

Is there a way to add a player straight into the reserve..?

*
Rep: +0/-0Level 81
Hi! i'm new to this, and my problem is how to add actors in the reserves. I manage to open the party change list but there are no other characters which i can change from my main party.. thnx 4 d help...

**
Rep: +0/-0Level 74
RMRK Junior
Hello! :) First of all, GREAT script, I love it.

Second I just have one question. I know this may be stupid but I really don't understand...

I'm attempting to make certain characters unavailable as they will be unlocked later on in the story, and I know I have to insert the actor ID somewhere...What exactly IS the actor ID? Is it just the actor's name? Because I tried that in all the following formats and I got errors.

Actor Name
ActorName
Actor_Name

Please help!