X4anco 
 
 
		
			Member 
			
			
			
 
			
	Posts: 157 
	Threads: 66 
	Joined: Apr 2011
	
 Reputation: 
0
		
	 | 
	
		
			
Repeat timer 
			 
			
				Hello peoples, 
 
How could I get a timer to repeat? 
 
-X4anco
			 
			
			
 
... 
			
		 |  
	 
 | 
	| 06-18-2011, 10:17 PM  | 
	
		
	 | 
	
		
		DamnNoHtml 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 469 
	Threads: 34 
	Joined: Sep 2010
	
 Reputation: 
16
		
	 | 
	
		
			
RE: Repeat timer 
			 
			
				Just call the timer inside itself. 
 
void TimerTest (string &in asTimer) 
{ 
       AddTimer("", 1.0, "TimerTest"); 
}
			 
			
			
 
Creator of Wake, Through the Portal, Insomnia, and Cycles What to do with HPL3.... 
			
		 |  
	 
 | 
	| 06-18-2011, 10:25 PM  | 
	
		
	 | 
	
		
		X4anco 
 
 
		
			Member 
			
			
			
 
			
	Posts: 157 
	Threads: 66 
	Joined: Apr 2011
	
 Reputation: 
0
		
	 | 
	
		
			
RE: Repeat timer 
			 
			
				How would I make it stop after so many times?
			 
			
			
 
... 
			
		 |  
	 
 | 
	| 06-18-2011, 10:26 PM  | 
	
		
	 | 
	
		
		xiphirx 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 662 
	Threads: 16 
	Joined: Nov 2010
	
 Reputation: 
5
		
	 | 
	
		
			
RE: Repeat timer 
			 
			
				RemoveTimer() and a local variable?
			 
			
			
 
			
		 |  
	 
 | 
	| 06-18-2011, 10:29 PM  | 
	
		
	 | 
	
		
		X4anco 
 
 
		
			Member 
			
			
			
 
			
	Posts: 157 
	Threads: 66 
	Joined: Apr 2011
	
 Reputation: 
0
		
	 | 
	
		
			
RE: Repeat timer 
			 
			
				Ah thank-you   
			 
			
			
 
... 
			
		 |  
	 
 | 
	| 06-18-2011, 10:29 PM  | 
	
		
	 |