Remove an actor before a battle and add it back after it

Discussion in 'RPG Maker MV' started by Kuu_t, Aug 28, 2019.

  1. Kuu_t

    Kuu_t Veteran Veteran

    Messages:
    30
    Likes Received:
    20
    First Language:
    Finnish
    Primarily Uses:
    RMMV
    Hi,

    I'm trying to achieve following, but I really can't figure it out:

    I have three actors, but one of them shouldn't be in battles.

    I wan't to have him in the party, but remove the actor when the battle starts. After the battle, I wan't to get the third actor back to the party.

    How to achieve this by eventing? I don't get it.

    Currenty I'm removing the third actor, when the Battle Processing starts. It works as excepted, but I can't add the third actor back, when the battle processing ends.
     
    #1
  2. jwgz

    jwgz Villager Member

    Messages:
    23
    Likes Received:
    12
    First Language:
    English
    Primarily Uses:
    RMMV
    I think you might be overthinking this.

    Simply make an event to add the party member after the battle (the same way you would when recruiting any other party member for the first time). Simple as that. You just need to make sure that the "initializing" feature is off, or the character will rejoin the party at minimum level and equipment.

    That said, if your goal is to remove and then re-add the character EVERY time you battle (including random encounters) then I can't help you, though someone with more evening knowledge than me may be able to help.
     
    #2
  3. Kuu_t

    Kuu_t Veteran Veteran

    Messages:
    30
    Likes Received:
    20
    First Language:
    Finnish
    Primarily Uses:
    RMMV
    Thank you for an idea, but I indeed have a dungeon, where this behavior should be in every battle. Thought, I don't use random encounters, but I have encounters on map.

    I thought that I could use some kind of Common Event for this... I'll try it out tomorrow and if it works, I'll write about it.
     
    #3
  4. shairn

    shairn Villager Member

    Messages:
    14
    Likes Received:
    9
    Location:
    Montreal, Canada
    First Language:
    English
    Primarily Uses:
    RMMV
    This should work the way you intend it, if I understand correctly. Just put "remove" then "add" before and after the event that triggers your battle, respectively. Might change the order of your party, depending, but that's also a simple fix.

    asdf.PNG

    I don't think it would be impossible to make it default behaviour for that character (nothing is) but this seems like the simplest way to achieve the desired effect.
     
    #4
    Aloe Guvner likes this.
  5. Aloe Guvner

    Aloe Guvner Walrus Veteran

    Messages:
    1,596
    Likes Received:
    1,003
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    If you have battles caused by events, use exactly the solution from @shairn

    If you want to do it for random encounters, you can probably find a plugin that allows you to run a Common Event before random encounters. You can remove Harold in that common event.

    A way to run event commands after battle with no plugins is to have a Parallel Common Event which is conditioned by a switch. Inside the Troop Event, turn the switch on. Then when the battle is over and the party returns to the map it will trigger a Common Event which adds Harold back to the party. At the end of the Common Event make sure to turn the switch off otherwise it will run forever.
     
    #5
  6. BK-tdm

    BK-tdm Manga Maker Veteran

    Messages:
    73
    Likes Received:
    56
    First Language:
    English
    Primarily Uses:
    RMMV
    You can use Hime's Guest Followers plugin if the character in question will be visible in the party but does not take part in combat at all, as the plugin suggests, that party member is a "guest" so its just there visually (good for escort quests) so it would be a good try to make a visible non-combat party member.
     
    #6

Share This Page