Indentation and unneeded *finish

I’m having trouble with getting my seventh choice to show up.

My code looks like this:

*choice
    #Discipline 1, aka the way of the Bat.  The first and most basic discipline. Often lauded as an unpredictable style, this form focuses on extensive sweeping motions.
        *set var1 40
        *set var2 60
        *set var3 60
        *set var4 40
        *set var5 30
        *set var6 30
        *set var7 50
        *set var8 50
       *finish
   
   #Discipline 2, aka the way of the Spider. It is the second and most elegant discipline. This form emphasizes precision and technique that is tailored for combat.
       *set var1 30
       *set var2 40
       *set var3 30
       *set var4 60
       *set var5 50
       *set var6 60
       *set var7 50
       *set var8 40
      *finish

   #Discipline 3, aka the way of the Buffalo. The third and most defensive form out of all the disciplines. This form is all about defense being the best offense.
       *set var1 40
       *set var2 40
       *set var3 50
       *set var4 60
       *set var5 60
       *set var6 40
       *set var7 50
       *set var8 60
      *finish
   
   #Discipline 4, aka the way of the Hawk. The fourth and most acrobatic form. This form excels in both acrobatics and theatrics.
       *set var1 40
       *set var2 60
       *set var3 50
       *set var4 30
       *set var5 30
       *set var6 40
       *set var7 50
       *set var8 60
      *finish
   
   #Discipline 5, aka the way of the Tiger. The fifth and most ferocious form. This form focuses on bulldozing the opponents to submission.
       *set var1 60
       *set var2 30
       *set var3 60
       *set var4 40
       *set var5 30
       *set var6 50
       *set var7 40
       *set var8 60
      *finish
   
   #Discipline 6, aka the way of the Monkey. The sixth and most balanced form. This form is focused on the study of enlightenment.
       *set var1 40
       *set var2 40
       *set var3 40
       *set var4 60
       *set var5 40
       *set var6 40
       *set var7 60
       *set var8 40
      *finish
 
    #Discipline 7, the way of the Killer Bee. The seventh and most dangerous form. This form is a double edged blade as it focuses on pure offense but leaves little in form of defense.
        *set var1 60
        *set var2 50
        *set var3 50
        *set var4 30
        *set var5 30
        *set var6 40
        *set var7 40
        *set var8 60
       *finish

Perhaps because the * on the *finish isn’t in line with the *'s of the *sets? It should be right under.

1 Like

You can use

*fake_choice
   #option1
      *set stuff
   #option2
      *set stuff
   #option3
      *set stuff
*finish

I believe. If you don’t have the options go anywhere else, fake_choice is a good choice

1 Like

OP, I’ve edited your post by simply adding the ``` mark to reveal the indentation; the problem is now revealed. You need to be consistent with your indentation levels. You don’t need to put *finish on its own level; put it on the same level as with the *set list.

2 Likes

For some reason, one of the scenes on my game won’t play and I’m afraid to mess with the code unless i know 100% what I’m doing so I don’t mess up the other code.

#Absorb Takeda's attack to show your dominance.
         *if var3 < 50
          
          *goto tenacity_fail
       
        *else
            
          *goto tenacity_pass
        *finish

Now pass or fail a scene is supposed to play however all I see is the play again screen. I tried removing *finish but it does absolutley nothing to fix this.

Based on the code you have posted, it is the same issue as your previous question, so I have put it in the same thread. The indentation is not consistent, and you also don’t need that *finish.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.