View Single Post
  #2  
Old 09-25-2020, 01:22 PM
sado_rabaudi sado_rabaudi is offline
WorldViz Team Member
 
Join Date: Jul 2016
Posts: 16
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()
Reply With Quote