- Code: Select all
UnitList = {
T1GroundDefense = {
Cybran = {'urbmod1', 25}, -- Pointdefense from Logan
UEF = {'uebmod2', 50,} -- Pointdefense from Logan
UEF = {'uebmod1', 50}, -- Pointdefense from Logan
},
I never tried this myself so can't tell you for sure how to make it work but few things I know:
There's syntax error on this line
- Code: Select all
UEF = {'uebmod2', 50,} -- Pointdefense from Logan
the comma needs to be after the } bracket
Another thing is that lua tables are array of
key = value,
which means that you have a key
UEF and value
{'uebmod2', 50}but the next line overwrites it since you're defining key
UEF again
so only this line
- Code: Select all
UEF = {'uebmod1', 50},
Will end up in the final table.