View Single Post
  #8  
Old 05-04-2006, 10:48 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

I'm not sure exactly what you are asking here. You just need a way to identify each avatar when they get shot? Just add some tag to each avatar when you create/restore it.
Code:
male.tag = 'avatar 1 with object 2'
Then when they get shot just look up the tag:
Code:
print info.object.tag,'got shot'
Reply With Quote