hello im having another problem again =P
[Spoiler]i can get this to work:
| quote: 
 
energygeo = {
	customParams = {
    pylonrange = 500,
	},
},
 | 
but not this:
| quote: 
 
for name, ud in pairs(UnitDefs) do
  if ud.customparams then
    for _, cp in pairs(ud.customparams) do
      if cp.pylonrange then
        cp.pylonrange = cp.pylonrange * 4
      end
    end
  end
end
 | 
it gave me an error something like attempt to index 'cp' (a number value)
so after some research i replaced pairs with ipairs and it doesnt give any errors but sadly also wont work
the odd thing is i cant seem to get any code that affects customparams to work in batch
can someone give me a clue if its regarding 
can anyone please help me?
thanks.