Question about repeatAll()

Forum Forums Discussion Question about repeatAll()

This topic contains 3 replies, has 4 voices, and was last updated by PinHead PinHead 3 years ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29194
    jponry
    jponry
    Participant
    0

    Can this be used in the middle of a scenario? For example,

    Chapter 1: gather collectible A
    Chapter 2: gather collectible B
    Chapter 3: gather collectible C
    Chapter 4: repeatAll(2)
    Chapter 5: deliver collectibles
    Chapter 6: repeatAll(999)

    #29195

    Xion
    Participant
    0

    repeatChapter(2)
    If you use repeatAll it will be a “loop” and never finish.

    • This reply was modified 3 years ago by  Xion.
    #29263

    pussyfoot
    Participant
    1+

    So in this case you would combine Chapter 1+2+3.

    Chapter 1: Gather A, Gather B, Gather C, repeatChapter(2)
    Chapter 2: Deliver collectibles
    Chapter 3: RepeatAll(999)

    #29281
    PinHead
    PinHead
    Participant
    1+

    Like Xion said, using a repeatchapter() in 1, 2 & 3 would be your best bet. Remove chapter 4. Using a combined chapter 1 would be a mess.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.