Problem restricting transfer out of town without other actors.

● ARCHIVED · READ-ONLY
Started by cyth1 6 posts View original ↗
  1. I wan't to make it so the player can't leave town if they haven't picked up the other two party members. I already did something like that for the beginning where the player can't leave the house if they haven't talked to the elder's wife.

    I just don't know how to make it work with two other actors.

    So what I want:

    is for the player not be able to leave town alone with out the other two.

    for the player not to be able to leave town with just one of them.

    and for the player TO be able to leave town with both.

    Halp?

    TransferRestriction.PNG
  2. There are a few ways to accomplish this :

    1) Using switches - switch on allocated switches when a party member has been recruited.

    2) Using the 'Actor' exist condtion, and additionally a conditional branch in the contents to check for the other actor.

    3) Using conditional branches in the contents to check for both actors (especially if you intend for this condition to be permanent throughout your game).
  3. This is what I have so far:

    It only works when I'm alone(where it won't allow me to leave alone).

    When I pick up one party member and head to the exit, I can pass, which I shouldn't be able to do. When I return to town the second page THEN activates and requires the second member.

    Page1.PNG

    Page2.PNG

    Page3.PNG
  4. That is not the way to use switches.

    When I say use switches, it means the global switches, not self-switches. Self-switches are best used when you want the event to act in one set of commands when you interact with it, then will act with a different set of commands when you next interact with it. Think of a lever as a simple example, when you first touch it, it will go up and the gate will open too. When you touch it next, the lever will go down and the gate will close. (This is just a very small and simple example of what self-switches can do. This sample uses only one Self-Switch).

    Back on topic, the first suggestion I gave you was to use Switches.

    I assume you already know how to add party members to your party.

    - In the first party member's event box, add a command at or near the end with Control Switches : 1 set to ON.

    - In the second party member's event box, add a command at or near the end with Control Switches : 2 set to ON.

    Now, go to your map transfer event.

    - In the first page, leave all Conditions unchecked.

    - Add a Show Text command saying something like 'I cannot leave yet'.

    - Create a new event page.

    - Check the Conditions Switch 1 is ON.

    - Check the Conditions Switch 2 is ON.

    - Now input your transfer event in the contents box.

    Do not hesitate to ask again if you are still having difficulty.

    You should check out Andar's tutorial to help you familiarize with RPG Maker and game making in general.

    http://forums.rpgmakerweb.com/index.php?showtopic=14727

    Also try out the tutorials (also linked in Andar's thread) :

    http://www.rpgmakerweb.com/support/products/tutorials
  5. Thank you so much! It worked like a charm.

    I'll check out those tutorials too, can't thank you enough!
  6. You are welcome! Glad it worked for you. ^^