logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Where is the "While..." loop?

    Scheduled Pinned Locked Moved
    Help and Support
    2
    8
    183
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Deeeds
      last edited by

      I'm pretty sure I saw this mentioned somewhere, but can not re-find it.

      iTap DevelopmentI 1 Reply Last reply Reply Quote 0
      • iTap DevelopmentI
        iTap Development @Deeeds
        last edited by

        @Deeeds I think there’s a dropdown menu in the loop behavior to select it

        D 1 Reply Last reply Reply Quote 0
        • D
          Deeeds @iTap Development
          last edited by

          @iTap-Development That's where I thought I'd find it, too. But no...

          Only:

          • Repeat

          • For Each

          • Conditional

          iTap DevelopmentI 1 Reply Last reply Reply Quote 0
          • iTap DevelopmentI
            iTap Development @Deeeds
            last edited by

            @Deeeds oh, I think conditional is Maybe what you want? Do X while a condition is true?

            D 1 Reply Last reply Reply Quote 0
            • D
              Deeeds @iTap Development
              last edited by

              @iTap-Development No, I was hoping for a proper while loop, where I could import any value from any object and watch it to see if it changed, constantly... but that "conditional" is more like a traditional:

              for i = 1, if i < 10
              do this
              i++

              iTap DevelopmentI 1 Reply Last reply Reply Quote 0
              • iTap DevelopmentI
                iTap Development @Deeeds
                last edited by

                @Deeeds hmm, a quick workaround(if I understand you correctly) would be a timer of 0 running an IF.

                D 1 Reply Last reply Reply Quote 0
                • D
                  Deeeds @iTap Development
                  last edited by

                  @iTap-Development Yeah... I was hoping to not have to use another zero timer... I'm already addicted to them.

                  iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                  • iTap DevelopmentI
                    iTap Development @Deeeds
                    last edited by iTap Development

                    @Deeeds yeah, Hyperpad recommends no more than 3 zero timers(for performance reasons), but I don’t think it would hurt to just add the if under one of your existing timers. Or if you want the if in another object from the timer, you use the behavior on or a broadcast message to trigger the IF.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post