Multi Flag Conditioned Events
Posted: Thu Aug 12, 2010 11:24 am
I was wondering... what's the correct syntax to check for several flags to advance to a certain event? Let's say I have this script for a single flag event:
Now... let's say I have this instead... how do I set the if statement to ask for several flags?
I hope I somehow made sense... xD
Code: Select all
#To set the flag up...
me "You have seen me now."
$ flag_one = True
#And then to check for the flag...
me "now, let me see if you have seen me before..."
if flag_one:
jump next_label
me "Nope, you haven't seen me before... go back and look for me."
jump look_for_me
label next_label:
me "Yep, you've seen me before and now you can continue."
Code: Select all
#To set the flag up...
me "You have seen me now."
$ flag_one = True
me "You have seen me again."
$ flag_two= True
me "You have seen me yet again (aren't ya lucky?)."
$ flag_three= True
#And then to check for the flag, what do I put in the if statement...?
me "now, let me see if you have seen me three times before..."
if (HOW ON EARTH DO I ASK FOR 3 FLAGS?):
jump next_label
me "Nope, you haven't seen me three times before... go back and look for me."
jump look_for_me
label next_label:
me "Yep, you've seen me three times before and now you can continue."