You can note it all down in a list and iterate through it. Here's a sample script for it.
import viz
viz.clearcolor(viz.SKYBLUE)
avatar_files = ['vcc_male.cfg', 'vcc_female.cfg', 'vcc_male2.cfg']
avatars = []
position = 0
for i in avatar_files:
new = viz.addAvatar(i, pos = (position*2, 0, 4), euler=(180,0,0))
avatars.append(new)
position += 1
viz.go()
|