The Daily Click ::. Forums ::. Klik Coding Help ::. multiple enemys with large amounts oof health
 

Post Reply  Post Oekaki 
 

Posted By Message

johnpow66



Registered
  21/12/2009
Points
  399
9th February, 2010 at 19:24:14 -

oi lets say i have some bad guys in the stage right and i want them havin like 10 health points each wats best way 2 do this by usign bounters right counters* any other way doin this maybe easier quicker way lol i.

 
Behold my emoticon army and there really white teeth glory!

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
9th February, 2010 at 20:05:29 -

Start of level >> Set Enemy Value A to 10.
Collision between enemy and bullet/sword/judochop >> Subtract 1 from Enemy Value A.
Enemy Value A = 0 >> Destroy Enemy.

 

  		
  		

Tokinsom



Registered
  22/11/2009
Points
  25
9th February, 2010 at 21:19:11 -

Or if you're REALLY lazy:

+Collision between enemy and "bullet"
-Add 1 to Enemy Value A

+Enemy Value A >= 10
-Destroy Enemy

 
n/a

Jon Lambert

Administrator
Vaporware Master

Registered
  19/12/2004
Points
  8235

VIP MemberWii OwnerTDC Chat Super UserI am an April FoolSSBB 3265-4741-0937ACCF 3051-1173-8012360 Owner
9th February, 2010 at 22:51:00 -


Originally Posted by OldManClayton
Start of level >> Set Enemy Value A to 10.
Collision between enemy and bullet/sword/judochop >> Subtract 1 from Enemy Value A.
Enemy Value A = 0 >> Destroy Enemy.


This could be made lazier if you have MMF2 by presetting the Alterable Value A to 10 in the object properties.

 
Sandwich Time!Whoo!

JoyCheck & KeyCheck Widgets
For easy implementation of customizable joystick and keyboard controls.
http://www.create-games.com/download.asp?id=8364

GamesterXIII



Registered
  04/12/2008
Points
  1110

I am an April Fool
14th February, 2010 at 04:51:20 -

Which is actually better since you can rename the value to be "HP"

 
n/a
   

Post Reply



 



Advertisement

Worth A Click