| 
			
			Posted By
		 | 
		
			
			Message
		 | 
  	
	
	
		
  			  Maroarts
  
  Registered   25/07/2003
 Points   196
  		 | 
  		
  		
  		 
  			16th September, 2003 at 07:35:45 - 
  		
			
		
  			
  		 
  			
			
			
			 
			ok, in my game Im making I have a 'counter' to represent my guys health. It starts off as a full circle and every time he gets hurt he loses a bit of it until it is nothing.
 
 
I put 
 
 
"Hero collides with Monster"
 
  - Add 1 to Counter
 
 
but nothing happens the counter always stays the full circle, Ive tried subtracting and everything but nothing works  
			
  	    
 
   
  			Go me!
  		
  		 | 
  	
  	
  	
		
  			  Mr.Mean
  
  Registered   22/08/2003
 Points   925
  		 | 
  		
  		
  		 
  			16th September, 2003 at 08:19:55 -
  		
			
		
  			
  		  
  			
				have you tried to right click at the counter and set the maximum vaule?
			
  	    
 
   
  			Some people are born to early, but I'm glad, I was born on my birthday   
 
http://joNickart.tk 
  		
  		 | 
  	
  	
  	
  	
  	
		
  			  Maroarts
  
  Registered   25/07/2003
 Points   196
  		 | 
  		
  		
  		 
  			16th September, 2003 at 08:40:32 -
  		
			
		
  			
  		  
  			
				yes its
 
 
Intitial: 0
 
Min: 0
 
Max: 99999999
			
  	    
 
   
  			Go me!
  		
  		 | 
  	
  	
  	
  	
  	
		
  			  Rycon
  
  Registered   20/09/2002
 Points   996
  		 | 
  		
  		
  		 
  			16th September, 2003 at 11:11:22 -
  		
			
		
  			
  		  
  			
				Make the MAX 100. 
			
  	    
 
   
  			We are the music makers, we are the dreamers of dreams...
  		
  		 | 
  	
  	
  	
  	
  	
		
  			  David Newton (DavidN) Invisible
  Registered   27/10/2002
 Points   8322
 
  
  		 | 
  		
  		
  		 
  			16th September, 2003 at 14:04:29 -
  		
			
		
  			
  		  
  			
				Try setting the counter's INITIAL value to 100, the MAXIMUM value to 100, then subtracting. You see, if the maximum is 99999999 then the relative change in the counter from 0 to 100 will be insignificant, making the game always display the full circle.
 
 
Hope that made sense.
			
  	    
 
   
  			http://www.davidn.co.nr  - Games, music, living in America
  		
  		 | 
  	
  	
  	
  	
  	
		
  			  Metal Maiden
  
  Registered   10/09/2002
 Points   900
  		 | 
  		
  		
  		 
  			16th September, 2003 at 14:08:41 -
  		
			
		
  			
  		  
  			
				Don't forget to go under properties and make the counter's value global to the entire game. I've forgot that too many times!
			
  	    
 
   
  			Death in the air
 
Strapped in the electric chair
 
This can't be happening to me 
 
Who made you God to say
 
"I'll take your life from you!!"
  		
  		 | 
  	
  	
  	
  	
  	
		
  			  Kramy 
  
  Registered   08/06/2002
 Points   1888
  		 | 
  		
  		
  		 
  			16th September, 2003 at 17:30:36 -
  		
			
		
  			
  		  
  			
				Ah, but doing that screws your game up good if you have to delete the counter. I just use a global value to transfer values...much safer, and prevents corrupting the game file.
			
  	    
 
   
  			Kramy
  		
  		 | 
  	
  	
  	
  	
  	
		
  			  ripthor
  
  Registered   02/07/2003
 Points   184
  		 | 
  		
  		
  		 
  			16th September, 2003 at 22:16:42 -
  		
			
		
  			
  		  
  			
				Hem...
 
 
Shouldn't it be:
 
 
"Hero collides with Monster" 
 
- *Substract* 1 to Counter 
 
 
instead of
 
 
"Hero collides with Monster" 
 
- Add 1 to Counter ?
 
			
  	    
 
   
  			n/a
  		
  		 | 
  	
  	
  	
  	
  	
		
  			  Maroarts
  
  Registered   25/07/2003
 Points   196
  		 | 
  		
  		
  		 
  			17th September, 2003 at 02:55:08 -
  		
			
		
  			
  		  
  			
				ooh thx for the help   Ill try it later 
			
  	    
 
   
  			Go me!
  		
  		 | 
  	
  	
  	
		
			| 
				 
			 | 
	    		
				  
	    		 |