Is it possible to replace a specific party position?

thesonicx666

Warper
Member
Joined
May 12, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
I'm making a game that has much more then four characters and I trying to find out how to replace a character in a specific position in the party instead of replacing a specific character.

Is it possible to do this?
 

orochii

Abomination of life, or life itself.
Veteran
Joined
Apr 29, 2012
Messages
652
Reaction score
364
First Language
Spanish
Maybe this will do the trick.

$game_party.remove_actor($game_party.members[n].id)This will remove an actor in a specific place in your party. After that, maybe you want to put a new actor on the same slot. For that, you can do the following...

#First we add the new actor.$game_party.add_actor(actor_id) #Then we run this code.while($game_party.members[n].id != actor_id)  a = $game_party.members[n].id  $game_party.remove_actor($game_party.members[n].id)endAnd... yeah.

EDIT: Holy mother of God. I'm so accustomed to not seeing RM2k3 these days... Yes, this is for Ace.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
Maybe this will do the trick.
No, that can't do the trick - please remember to check the forum before answering, this question was posted for RM2K3, and there is no scripting in 2K3 - your solution is probably for Ace I assume...
 

Millefeuille

Heart attack in black hair dye
Veteran
Joined
Nov 14, 2014
Messages
32
Reaction score
12
First Language
Al Bhed
Primarily Uses
There is currently no method for (legally) doing this, but I have heard Cherry mention that adding some options for party position may exist in the future. Hope this helps!
 

Felix Trapper

old fogey
Veteran
Joined
Mar 14, 2012
Messages
164
Reaction score
118
First Language
English
Primarily Uses
There are a few potential work arounds that require some compromises to be made, but first, can you elaborate on the reason you are wanting to replace a specific position in a party rather than a character? Knowing the intended design purpose can help form a work around that accomplishes the same goal.
 

dungeon diver

[ TRASH ELEMENTAL ]
Veteran
Joined
May 11, 2015
Messages
56
Reaction score
13
First Language
English
Primarily Uses
I remember years and years ago when I was making a party selection CMS I gave party members arbitrary numerical IDs, and had four variables in a row that I'd modify as bargain-bin "pointers" to identify a slot as belonging to a character as the party changed.

It took a pretty massive amount of conditionals but using that I was able to check who was in each spot, empty the entire party, edit the variables to resemble the party replacing the spot would create, and reform it from the first to the last variable iterating through and adding the party member each variable referenced.
 
Last edited by a moderator:

thesonicx666

Warper
Member
Joined
May 12, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
There are a few potential work around's that require some compromises to be made, but first, can you elaborate on the reason you are wanting to replace a specific position in a party rather than a character? Knowing the intended design purpose can help form a work around that accomplishes the same goal.
I'm sorry if I sound kind of rude, but shouldn't it be obvious why I want to replace a specific position? I want to be able to swap an active party member for one that's on the side lines, similar to games like final fantasy 6, where when your switch a party member for another you can freely choose either the first, second, third, or forth member, instead of just a specific character. I'm sorry if this might sound weird, or confusing.
 

Felix Trapper

old fogey
Veteran
Joined
Mar 14, 2012
Messages
164
Reaction score
118
First Language
English
Primarily Uses
The FF6 party-forming system can be done pretty easily with eventing. The process would look something like this:

1. Memorize hero location

2. Teleport hero to a custom map that is meant only for party formation

3. Using Key Input processing, allow a cursor to move around a grid and select characters and move them to the active party box.

4. When done, determine which characters are in the active party box

5. Remove all characters from the party

6. Add the characters in the active party box back to the party

This is why I wanted to know the intended design purpose--because as suspected, the position in the party doesn't matter at all to achieve the goal of swapping characters in and out like FF6.

EDIT: I have created a demo doing what I just described above. It can be found here.
 
Last edited by a moderator:

Erika Fuzzbottom

Spotted Skunk Dragon
Veteran
Joined
Apr 27, 2015
Messages
97
Reaction score
59
First Language
English
Primarily Uses
Other
I'm sorry if I sound kind of rude, but shouldn't it be obvious why I want to replace a specific position?
It obviously wasn't. =P I was kinda wondering, myself.

Felix gave you a (hopefully) useful answer already, so good luck!
 

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

Latest Threads

Latest Posts

Latest Profile Posts

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.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,045
Members
137,569
Latest member
Shtelsky
Top