If have done something like this before:
+ Every 2 seconds
++ For each platform order by distance ascending (distance(player.x, player.y - Variable, self.X, self.Y))
-- Platform Spawn Enemie on Imagepoint(0)
-- stop loop
+ = Condition
Variable = A number which says how much the platform with the enemie must be away from the player
Is it clear now ?