Change Actor with another

Lah

Warper
Member
Joined
Dec 1, 2015
Messages
3
Reaction score
0
First Language
German
Hy everyone,

I try to make a game in RPG Maker MV like Pokemon, Persona and so on ... my problem is, I have a Event who ask the User which Actor should be Change. I will not make it like "If A is in your Party/if B is in your Party ...." I only want to if choose 1 the first Actor in your Party will be change to the one you are on. I try it like this:

$gameParty.removeActor($gameParty.members(3));

or

$gameParty.removeActor(this._params[3]);

and so on

but I only get an Error or nothing happens. I dont want to sit here and say "Hey please give me a script" its important for me to understand what I make wrong and what must I do to make it right. I hope someone can help me.

Thanks.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I don't understand what you're trying to do. If you say "like Pokemon, Persona, etc" you limit your helpers to those who have played those games and understand what you're talking about.


Are you saying there is only one actor in the party, but you have set up several and the player gets to choose which one at the start of the game? If so, there is a better way to do it than the above, but I won't go into it, as I'm not sure that's what you're talking about at all.
 

Lah

Warper
Member
Joined
Dec 1, 2015
Messages
3
Reaction score
0
First Language
German
Sry if the exploration wasnt "good" enough to understand, I try it again ... like Pokemon my Leader is locked because he´s the trainer an in Battles he wont show (no problems). My other 3 Party Actors can be choosen from a list if you "catch" them (My Party can only have 4 Actors). If you want to change one of them you must choose one of your existend Actors and this Actor should removed and the other add. My Problem is I can only removed from there ActorID and not from the Position in my Party. For Example you would Change the Actor D (new catch "Monster") witch Actor A (your start "Monster") I will have a ScriptCall or something which Change ActorID 4 with Party Member 2 no matter which ActorID has the Party Member 2.

I hope this will help to understand and thanks for the respond.
 

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

Latest Threads

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,081
Members
137,582
Latest member
Spartacraft
Top