Hello again my friends, how are you? I'm with a little problem in my MFA, can someone help me?
-I have 5 Enemies (actives). Enemy0, Enemy1, Enemy2, Enemy3 and EnemyR, with the same qualifier (Enemies).
-Each enemy have a bodyCollisionMask (another active).
-Each enemy have a Alterable Value A called "ID" that I spread in a loop.
-Each bodyCollisionMask have a Alterable Value A called "ID" that I spread in a loop too.
When the frame starts, I create how many enemies I want (but never the EnemyR).
Just before, I run a loop that create the bodyCollisionMask how many times I have the Enemies quantity. (If I create 8 enemies, the loop create 8 bodyCollisionMask, for example).
After that, I run a loop that spread value of "ID" to match with every bodyCollisionMask and Enemies.
Then every bodyCollisionMask will be on the place of the same ID of the Enemy using a Aways condition.
Well, this is working perfect. BUTTT, my problem is: The EnemyR.
I want that Every Start of Frame, I pick one of the created Enemy and replace to the EnemyR, positioning this EnemyR on the same position of the replaced Enemy and get it "ID" to make the same bodyCollisionMask be on the place of the EnemyR.
I'm trying to do this, seens to work at the first look, but if you check the "ID" of the Enemy and the bodyCollisionMask using the Mouse Over, the counter will show that it's different.
Sorry to the confusing text, but if you open the MFA, you will understand.
Before enable the EnemyR creation events, put the mouse over every Enemy and your bodyCollisionMask, you will check ON THE COUNTER that each Enemy and Mask are in the same place, together.
BUT, when you enable the EnemyR creation Events, you will check with the mouse over that the bodyCollisionMask are not the same anymore (in rare luck times it will be correct)...
If someone can help me, I will thank a lot...Best regards
Check the MFA below: