It works! Thank you for great adviceenaielei wrote: ↑Fri Jun 16, 2023 6:20 am You're not interpolating the cg_idx variable in the string expression for the condition. Do...Code: Select all
g_cg.condition("cg_lists[{}] == 1".format(cg_idx))
Search found 2 matches
- Fri Jun 16, 2023 7:25 am
- Forum: Ren'Py Questions and Announcements
- Topic: Using iteration with gallery unlock conditions
- Replies: 2
- Views: 211
Re: Using iteration with gallery unlock conditions
- Fri Jun 16, 2023 5:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: Using iteration with gallery unlock conditions
- Replies: 2
- Views: 211
Using iteration with gallery unlock conditions
init python : cg_lists = [0,0] gallery_cg_items = [ ["images/cg/mina1.png"], ["images/cg/mina2.png"] ] gallery_unlock_items = [ ["images/cg/small_mina1.png"], ["images/cg/small_mina2.png"] ] gal_rows = 2 gal_cols = 3 thumbnail_x = 420 thumbnail_y = 250 cg_pag...