Announcement

Collapse

IMPORTANT TWR ANNOUNCEMENT

**~~ANNOUNCEMENT!~~** All The Writers' Room members please check the TWR forums for an important new thread! Your feedback is wanted for this exciting announcement & thanks for being part of the team! - JB
See more
See less

Remembering past choices

Collapse
This topic is closed.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Remembering past choices

    In the previous episode, the player got to choose to go in the alley or the cave to hide.
    Now it is the next episode and I don't know how to make the script remember the past choice.
    How do I do that?

    (Here is what I tried):




    choice
    if (hidingplace is "Alley" {)
    @THOMAS stands in Alley
    } if (hidingplace is "Cave") {
    @THOMAS stands in Cave
    }


    The script error says:

    Unexpected IF: if
    Last edited by Alex B; 08-19-2017, 01:16 PM.

  • #2
    Okay, you don't need choice over the it's only when you're making choices.


    if (hidingplace is "Alley" ){
    @THOMAS stands in Alley
    } elif (hidingplace is "Cave") {
    @THOMAS stands in Cave
    }

    See if this works. 😊

    Comment


    • Alex B
      Alex B commented
      Editing a comment
      Hmm, it says invalid spot "in alley" and invalid spot "in cave"...

      Its tricky since I need to go to EXT. NORTH PHILADELPHIA ALLEYWAY - NIGHT for the Alley and EXT. CAVE - DAY for the Cave.
      I even used gain Alley and gain Cave in the previous episode under the original choice...
      Last edited by Alex B; 08-20-2017, 05:34 AM.

  • #3
    if (hidingplace is "Alley" ){
    EXT. NORTH PHILADELPHIA ALLEYWAY - NIGHT
    @THOMAS stands right screen
    } elif (hidingplace is "Cave") {
    EXT. CAVE - DAY
    @THOMAS stands right screen
    }


    okay, what about this?😁

    Comment


    • #4
      I changed it to:

      if (Alley) {
      EXT. NORTH PHILADELPHIA ALLEYWAY - NIGHT
      @THOMAS stands screen left
      }
      elif (Cave) {
      EXT. CAVE - DAY
      @THOMAS stands screen left
      }

      But only the alley shows up in episode 2 even if i choose cave...

      Comment


      • #5
        Nevermind, I figured it out after messing around with it. Thank you for your help!

        Comment

        Working...
        X