Ren'Py [SOLVED]List and Index

GoldenD

Member
Sep 30, 2018
102
70
Hi,

is it possible to have a list i call by a personnal string index and that would look like this :

Python:
define listEvents = [
["Event1", False],
["Event2", False],
["Event3", False],
.../...  
]
I would like use this list giving the string ("Event1" for example) as index, and read or append its boolean value.

Clear ?
 
Last edited: