I'm having LOTS of trouble about making something that seemed so simple in MMF2 at first, making multiple objects. my problem is: I have a object called dummy, and on this object I fix thre other objects, the enemy sprite, the enemy collsion box and the enemy ground detector and everything works fine, but when i try to make instances of all those objects it turns into a mess.
the think I tried to do and was sure that it would work is: spreading values for the enemies dummy and the collisors, then i put an event like this:
if alterable value Z (dummy) = alterable value Z (ground sensor) then
set x position of ground sensor to x position dummy.
I tried so many things, don't know what else can i do to make that work, hope you can help me out.
It seems like that should work... Multiple instances is another MMF headache. I believe Clickteam should improve it... maybe some way to identify individual instances of one object easier. Hmmmm... HEY CLICKTEAM!
EDIT:It might be a headache, but the only thing that pops into mind is making more than one set-- just make however many will appear on screen at the same time. Then they can all have separate events. OR, I don't know if this will work... Make sure the detectors overlap the enemy, and then have it say: If detector is overlapping enemy, set detector to such and such X and Y of enemy. Somehow, having "one object is overlapping another" seems to point to which object you're refering to better.
Edited by the Author.
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
1st July, 2008 at 21:23:58 -
Originally Posted by OldManClayton It seems like that should work... Multiple instances is another MMF headache. I believe Clickteam should improve it... maybe some way to identify individual instances of one object easier. Hmmmm... HEY CLICKTEAM!
Spread Value and MMF Loops! Look up some articles on it.
Edit:
Infact, here's an example I made a while ago for someone else asking a very simliar problem.