|  | 
	| FAQ
		 • Search • Login | 
	| 
 
 
 
	
	
		
			|   | Page 1 of 1 
 | [ 4 posts ] |  |  
        
        
            | Author | Message |  
			| war_man333 
					Joined: Sun Nov 11, 2007 1:49 pm
 Posts: 785
   |   Damage fieldDamage fields that do 10 damage every second, they come in 3 sizes:
 Tiny Concrete Size, 1X, 4X
 
 Sprite doesn't matter much, maybe just a slightly different version of the normal 'Empty' Bunker Bit.
 
 Thank you in advance.
 
 
 |  
			| Mon Jul 13, 2009 11:54 am | 
					
					   |  
		|  |  
			| Grif REAL AMERICAN HERO 
					Joined: Sat Jan 27, 2007 10:25 pm
 Posts: 5655
   |   Re: Damage fieldfunction Create(self)self.hurttimer = Timer();
 end
 
 function Update(self)
 self.hitbox = Box(Vector(self.Pos.X - 48,self.Pos.Y - 48),Vector(self.pos.Y + 48,self.Pos.Y + 48));
 for actor in MovableMan.Actors do
 if self.hurttimer:IsPastSimMS(1000) == true then
 self.hurttimer:Reset();
 if self.hitbox:WithinBox(actor.Pos) == true then
 actor.Health = actor.Health - 10;
 end
 end
 end
 end
 
 
 |  
			| Thu Jul 16, 2009 3:53 am | 
					
					   |  
		|  |  
			| war_man333 
					Joined: Sun Nov 11, 2007 1:49 pm
 Posts: 785
   |   Re: Damage fieldThanks. 
 
 |  
			| Fri Jul 17, 2009 8:30 am | 
					
					   |  
		|  |  
			| asura 
					Joined: Mon Jul 13, 2009 11:05 am
 Posts: 10
 Location: Republic of Moldova
   |   Re: Damage fieldHm..      Maybe it will work.. please click and play with my pet.        http://www.youtube.com/watch?v=YersIyzsOpc
 Don't do this. We will subvert you.
 
 |  
			| Fri Jul 17, 2009 8:49 am | 
					
					   |  
		|  |  
		|  |  
	
		
			|   | Page 1 of 1 
 | [ 4 posts ] |  |  
 
	
		| Who is online |  
		| Users browsing this forum: No registered users |  
 
	|  | You cannot post new topics in this forum You cannot reply to topics in this forum
 You cannot edit your posts in this forum
 You cannot delete your posts in this forum
 You cannot post attachments in this forum
 
 |  
   |