Okay I've tried out what I wrote here before, but I'm coming across a problem. Can someone please help me?
I want to make sure that people will see all the scenes that I made, so I thought of this:
In script file:
Code: Select all
$ donescenea1 = False
$ donescenea2 = False
$ donescenea3 = False
$ donescenea4 = False
$ donesceneb1 = False
$ donesceneb2 = False
$ donesceneb3 = False
$ donesceneb4 = False
Code: Select all
label test:
"Day 1"
menu:
"character a":
call scenea
"character b":
call sceneb
label test2:
"Day 2"
menu:
"character a":
call scenea
"character b":
call sceneb
label test3:
"Day 3"
menu:
"character a":
call scenea
"character b":
call sceneb
label test4:
"Day 4"
menu:
"character a":
call scenea
"character b":
call sceneb
I put down this:
Code: Select all
label scenea:
if not donescenea1:
call scenea1
elif if not donescenea2:
call scenea2
elif if not donescenea3:
call scenea3
elif if not donescenea4:
call scenea4
else:
call finalscenea
label sceneb:
if not donesceneb1:
call sceneb1
elif if not donesceneb2:
call sceneb2
elif if not donesceneb3:
call sceneb3
elif if not donesceneb4:
call sceneb4
elif if not donescenebvijf:
call scenebvijf
else:
call finalsceneb
and below that:
Code: Select all
label scenea1:
"a1"
$ donescenea1 = True
return
label scenea2:
"a2"
$ donescenea2 = True
return
label scenea3:
"a3"
$ donescenea3 = True
return
label scenea4:
"a4"
$ donescenea4 = True
return
label finalscenea:
"afinal"
return
label sceneb1:
"b1"
$ donesceneb1 = True
return
label sceneb2:
"b2"
$ donesceneb2 = True
return
label sceneb3:
"b3"
$ donesceneb3 = True
return
label sceneb4:
"b4"
$ donesceneb4 = True
return
label finalsceneb:
"bfinal"
return
The problem is that when I choose
"Character a" at day one,
I'll see "a1" , "b1", "a1"
and then it'll go to day 2.
I'm guessing the fault is in the "return"?
But I have no idea how to solve it, can someone help please?
Edit: Well, looks like this code doesn't work at all anyway, so then I'm wondering what I can do, what kind of code I can use, to get what I want?
I just want to make sure that if you choose character A on day 1, and you view scene1 of character A, that you can still see scene 1 of character B if you choose character B the second day.
And of course I don't want the scene's to repeat.