Ren'Py [SOLVED and SORRY]Assigning Variables "variable name" ?

GoldenD

Member
Sep 30, 2018
102
70
Hõla todos,
have a global list variable.
During process, I have to assign some lists variables to this global variable. The only thing which change in those variables is the suffix.
Sample better than words.
Python:
default currentList = []

default list_001 = [(elt1, elt2,...)]
default list_002 = [(elt1, elt2,...)]
default list_003 = [(elt1, elt2,...)]
default list_004 = [(elt1, elt2,...)]
.../...

# Would Like something like this
$ currentList = list_[counter]
An idea ?
 

GoldenD

Member
Sep 30, 2018
102
70
Waouh guy !
Seriously. I'll test but honestly, I did it for the form but without believing !

And so sorry, AON gave me already the answer in another post. Sorry !!! :oops:
 
Last edited: