![]()  | 
	
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
				
				Using Avatar.Person
			 
			
			
			I have a couple of questions about using the Avatar.Person class. First, is there some way to pause the avatar's actions? More specifically, I have an avatar giving a speech using the following code: 
		
		
		
		
		
		
		
		
	
	speech = avatar.loadSpeech('speech.wav') avatar.addIntentional(speech) avatar.go() I want to be able to press a key and pause the speech. If I call avatar.stop(), the animations stop, but the audio of the speech continues. Is there a way for me to pause this as well? Also, I'm a bit confused on how to change the avatar's head/body using the Person class. I assume I'm supposed to use the replaceHead() and bodyType() methods, but I'm not sure how the number argument corresponds to the head or body that I actually want to use. Thanks.  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			I modified the speak action to be pausable.  I attached a zip that contains the modification and a script demonstrating its use.  Requires Vizard 3.0.
		 
		
		
		
			
				__________________ 
		
		
		
		
		
	
	Paul Elliott WorldViz LLC  | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			The next release of Vizard will have a standard speak action which is pausable.
		 
		
		
		
		
		
		
			
				__________________ 
		
		
		
		
		
	
	Paul Elliott WorldViz LLC  | 
![]()  | 
	
	
		
  | 
	
		
  |