K
katharzis
Guest
hello everyone.
i'm new to coding in general and i was wondering if you can help me with this problem:
i have this variables
as there will be more than 100 of this variables i want to use something like
i know this code is wrong or incomplete
can you please guide me in the right direction?
i'm new to coding in general and i was wondering if you can help me with this problem:
i have this variables
GML:
global.StatLvl1 = 2
global.StatLvl2 = 2
global.StatLvl3 = 2
global.StatLvl4 = 2
global.StatLvl5 = 2
global.StatLvl6 = 2
global.StatLvl7 = 2
global.StatLvl8 = 2
global.StatLvl9 = 2
global.StatLvl10 = 2
Code:
for (var i = 1; i < 30; i ++)
{
global.StatLvl(i) = 2
}
can you please guide me in the right direction?