duplicate enemies problem
Hi,
i am making a beat-em-up game and in it i want to have different kinds of enemies. But i cant get it to work with duplicate enemies since they all react at the same time when i hit one of them.
Enemy1 is connected to a counter which represents its health. And when i hit one of the enemies, all reacts the same.
I really dont want to remake ALL the events in the event-editor for like 10-15 enemies...
Re: duplicate enemies problem
I suspect the problem is that you are using a separate counter to store the health, instead of the alterable values that are built in to each object, so MMF doesn't know which object is linked to the counter.
You also have to avoid using "compare two general values", if you are. Expressions don't filter objects, and that condition is just two expressions, which means it can't filter any objects.
Re: duplicate enemies problem
hrm, okay. but how do i avoid using "compare two general values" ? dunno how to do it.
so if i use alternate values instead of a separate counter, the objects doesnt affect eachother when i punch one of the duplicated enemies? can i find "alternate values" in the properties of the enemy1 ?
Re: duplicate enemies problem
Yes, I think so. I'd have to see your code to be sure.