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

Choice working on preview but not on testing on phone!

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Choice working on preview but not on testing on phone!

    My title basically sums it up. I test the script on the preview and it works fine but when I test it on my mobile phone, it's like the script is totally ignoring my second choice no matter what choice I click on. Is this some sort of glitch or something presuming the preview test works perfectly? Yes i signed out of Episode on my phone and signed in again. I also did the same with the website.

  • #2
    You mean that the gain doesn't work, despite there being nothing wrong with the code? Cause I've got that problem too...

    Comment


    • #3
      Also start having problems with gains like 2 days ago. Sometimes it works, next time I'm opening app to test the same code it doesn't work.

      Comment


      • #4
        If you’re talking about the gain not working, either you need to reset story progress when testing out your story or there is a problem with the if/elif code.

        Comment


        • #5
          My script: (On preview it works fine but on phone it's totally ignoring when I click on "No" to not telling Miles...)
          NARRATOR
          Are you going to tell Miles what's going on?

          choice
          "Yes" {
          @speechbubble is 138 128 to 100% with tail_top_left
          BGWOMAN1 (talk_awkward)
          I was told not to tell you
          @speechbubble is 204 123 to 100% with tail_top_right
          BGMAN2 (talk_startled)
          By who?
          @speechbubble is 155 173 to 100% with tail_top_left
          BGWOMAN1 (talk_sad)
          I am helping someone secretly who's a victim of the Trey case.
          ..........
          @pause for a beat

          gain TELLING_MILES

          } "No" {
          @speechbubble is 162 145 to 100% with tail_top_left
          BGWOMAN1 (talk_sad)
          I'm sorry Miles but it's just very personal.
          @speechbubble is 162 173 to 100% with tail_top_left
          BGWOMAN1
          (Well personal for Aron and Cael. I just can't tell Miles about this.)
          ......
          &BGWOMAN1 starts idle_awkward
          @pause for a beat

          gain NOT_TELLING_MILES
          }
          music off
          @pause for a beat
          @transition fade out black in 1
          INT. ANNIKA APARTMENT - DAY
          .....
          ....
          BGWOMAN1 (talk_awkward)
          It's okay. I choose to go but Aron...I have something I have to tell you...
          @speechbubble is 146 165 to 100% with tail_top_left
          BGMAN1 (talk_think)
          What?
          @pause for a beat
          if (TELLING_MILES) {

          @speechbubble is 187 198 to 100% with tail_top_right
          BGWOMAN1 (talk_awkward)
          I told my work partner Miles about everything. I had to Aron.
          .....
          ....

          } elif (NOT_TELLING_MILES) {

          @speechbubble is 166 187 to 100% with tail_top_right
          BGWOMAN1 (talk_exhausted)
          Miles knows something is up. I managed to keep him off my back though.


          &BGMAN1 starts deepbreath
          @pause for a beat

          }

          @pause for a beat
          @transition fade out black in 1

          Comment


          • Dara Amarie
            Dara Amarie commented
            Editing a comment
            You mean it's ignoring the "elif (NOT_TELLING_MILES)" part?

        • #6
          I always press update script on my phone before testing it.

          Comment


          • Dara Amarie
            Dara Amarie commented
            Editing a comment
            If you're testing out gains and the if/elif code on your phone, you need to reset your story progress.
            "update story" or "restart episode" doesn't reset the gains.

        • #7
          Okay I THINK I know what's up with it. I changed the TELLING_MILES and NOT_TELLING_MILES to telling_miles and not_telling_miles because it seems to not like me using caps for it. Also when i tested out my second choice which was NO, it worked on the phone. I then checked the YES and it worked, then I checked the NO again and the NO didn't work. BUT when I clicked Update Script then the NO worked again. So it seems that every time you test the choice, you have to click update script to sort of reset the choices, so I think that is what you meant Dara.

          Comment


          • #8
            Ohh okay Dara. I see what you mean now.

            Comment


            • #9
              Thanks for the help. I really appreciate it <3

              Comment

              Working...
              X