I'm trying to have an image build-up/change over the course of the story depending on how the story progresses (there is some randomness involved). I want it to show up in the same state every time until it gets added to, and then to keep those additions. I put all the possible additions into groups like:
Code: Select all
layeredimage loc4d:
always:
"loc4_base"
always:
pos (410,420)
"loc4_piece_g"
group piece2:
pos (860,420)
attribute l_piece2:
"loc4_piece_l"
attribute b_piece2:
"loc4_piece_b"
attribute r_piece2:
"loc4_piece_r"
attribute m_piece2:
"loc4_piece_m"
attribute a_piece2:
"loc4_piece_a"
group piece3:
pos (1340,420)
attribute l_piece3:
"loc4_piece_l"
attribute b_piece3:
"loc4_piece_b"
attribute r_piece3:
"loc4_piece_r"
attribute m_piece3:
"loc4_piece_m"
attribute a_piece3:
"loc4_piece_a"
Code: Select all
scene loc4
show loc4d
with dissolve
Code: Select all
if part == 3:
if person == "Lucius":
scene loc4
show loc4d l_piece2
with dissolve
elif person == "Bugra":
scene loc4
show loc4d b_piece2
with dissolve
elif person == "Rian":
scene loc4
show loc4d r_piece2
with dissolve
elif person == "Mozelle":
scene loc4
show loc4d m_piece2
with dissolve
elif person == "Aiza":
scene loc4
show loc4d a_piece2
with dissolve
elif part == 2:
if person == "Lucius":
scene loc4
show loc4d l_piece3
with dissolve
elif person == "Bugra":
scene loc4
show loc4d b_piece3
with dissolve
elif person == "Rian":
scene loc4
show loc4d r_piece3
with dissolve
elif person == "Mozelle":
scene loc4
show loc4d m_piece3
with dissolve
elif person == "Aiza":
scene loc4
show loc4d a_piece3
with dissolve