Crystal Teleportation System (Conditional Branch issue)

● ARCHIVED · READ-ONLY
Started by yomielf 5 posts View original ↗
  1. I am trying to create a crystal attunement teleportation system where when you attune to one of the crystals of each capital you can fast travel there by using the crystal (similar to Final Fantasy XIV). I have placed the crystals in each place and after the first event page which is the attunement, the 2nd event page is the conditional branch of teleportations but right now if i attune to any of the crystals i can travel to all the rest no matter if i didnt visit them yet. How do i make it so that the conditional branch does not show the options of the crystals that i did not attune yet? Do i have to do something with the switches of the 1st event page of each crystal or can i somehow add if statements inside the if statements on the conditional branch of 2nd page
    WlmkUCG.png
    VdoRnGT.png
  2. The self-switch exists differently for each event.
    To check for other events (especially like this for teleportation targets), you'll need general switches,and a different switch for each target.

    You'll either need a plugin to make the choice conditional then, or you'll have the show choices list all possible targets (including not activated ones) and then check the conditional for the specific switch activation inside each Branche.
  3. Himeworks has a selection of choice-related plugins, including Hidden Choice Conditions: http://himeworks.com/2015/11/hidden-choice-conditions/

    Alternatively, Yanfly's Extended Message Pack 1 (requires Message Core) offers similar functionality via HideChoice/ShowChoice plugin commands: http://yanfly.moe/2016/01/30/yep-65-extended-message-pack-1/

    Like @Andar says, without plugins you'd have to have several nested Conditional Branch commands, a.k.a. "if statements", though be warned this can get very long-winded with a lot of possibilities. You can add ifs inside other ifs simply by adding one inside another and it'll work as you'd expect: the inner condition will only be checked if the first one passes. As far as I know there's no practical limit on how many ifs you can nest inside one another. =)
  4. I'd like to offer an alternative - I wrote a Conditional Choices plugin which is even easier to use than the Himework's Hidden Choice conditions plugin.

    What I mean by easier is that it doesn't require any "if" statements and it keeps your event very readable.

    It also plays well with Himework's Large Choices plugin, so you can have as many "destinations" as you want on the crystal. More details are in my plugin post.
  5. Thanks, it looks like to prevent the teleportation to unattuned crystals it just needed general switch statements for each crystal and some conditional branches inside the if statements of the 2nd event page without the use of plugins, but to hide the unavailable choices alltogether i guess these plugins are a good help