The Daily Click ::. Forums ::. Klik Coding Help ::. Platform Enemy AI with MMF
 

Post Reply  Post Oekaki 
 

Posted By Message

CageX



Registered
  13/06/2006
Points
  2
13th June, 2006 at 23:40:31 -

I made a few randomly moving platform enemies using the platform extension, but I'm tired of using a seperate platform extension to control each one. Is there any way I can make one set of code that controls all the enemies of that type?

 
A modest proposal.

Werbad



Registered
  18/09/2002
Points
  235
14th June, 2006 at 13:39:25 -

Isn't the platform extension for MMF only? anyways... I think you need a custom movement for that, I could do one if i had time but my computer crashed recently and i just don't feel like it

 
n/a

Werbad



Registered
  18/09/2002
Points
  235
14th June, 2006 at 17:36:54 -

WTF?

 
n/a

CageX



Registered
  13/06/2006
Points
  2
16th June, 2006 at 23:20:20 -

Well, those replies were certainly helpful, new problem came up after I put in custom movement for the enemies, since they're all the same....after one of their Alterable Value A's gets to 6, they're supposed to be destroyed, but somehow all of them get destroyed when that happens, maybe because they're made of 3 parts? I have no idea what to do.

 
A modest proposal.

Deleted User
18th June, 2006 at 17:47:24 -

you have to have an event that targets only 1 enemy. If you have something like-

-bullet overlapping enemy
o Add 1 to Alterable Value A(enemy)

that targets 1 guy. if you have something like this...

-bullet overlapping something that isnt an enemy
o Add 1 to Alterable Value A(enemy)

it targets every enemy, because you didn't tell it which to target



therefore, if you do something like this
-bullet overlapping body part 2
o- Add 1 to Alterable Value A(Body Part <1> )

its going to target all of the body part 1's because you didnt specify which body part to destroy.

Hope That Helps

Image Edited by the Author.

 
   

Post Reply



 



Advertisement

Worth A Click