'Move infront of object', Men behind Curtains
Hi, i got some help around here about how to pin an instance of one object(A) to another instance of another object(B) by using the ForEach loop/ obejct.
But i encountered a problem with the loop which i have simplefied in an example here:
Men behind Curtains
( move mouse above a man, and press keys 0 - 3 to assosiate with Curtain )
What i want to do is to assosiate all Men with one of the Curtains, and bring each man 'exactly' infront of that curtain( not infront of everything ).
What i have noticed is that once Man with ID_ value 0 is assosiated with a curtain, all other men assosiated with that cortain does not get moved infront of curtain ( 'move infront of object' line 7 )
Why isnt the 'Move infront of' action triggered while all others actions are? How can i fix this?
This is kind of urgen
thanx