lets say i have 300 objects that i have named
x1 to x100
y1 to y100
z1 to z100
I basically want to make say 6 arrays
x1 to x50
x51 to x100
y1 to y50
y50 to y100
z1 to z50
z51 to z100
and for each array i want to run a getdammage check
if any object in that particular array is "getdammage >0.2"
i want to setdammage 0 for each in the list
now instead of typing
damcon1 = [x1, x2, x3, x4, x5, x6........... etc etc
damcon2 = [x51, x52, x53, x54, x55, x56 ...........etc etc
damcon3 = [y1, y2, y3, y4, y5, y6 ..............etc etc
is there a shorter way of doing it??
and once i have done this
to get it to run, am i better doing it from a repeating trigger or running a looping script
Its basically to run damage control on a heavily laden mplayer map with lots of buildings
the streets are very narrow and any damaged distorts these buildings, making it difficult to pass