This example will show you how to create goblins based on the max number of lines available in the list object. The list object is a list of names to give the goblins when they're created. This is convenient because if you want more goblins available all you have to do is add a line to the list object with a new name and it will increase the amount available you can spawn.
This example also shows you random positions set when spawning goblins.
+ Fast Loop
+ Assigning Unique Values to Actives (Spread Value)
+ Assigning Unique Names to Actives (via Spread Value)
I don't claim this to be the 'best' or even the most 'efficient', however it will give you an overview of how MMF2 works with object selection.
Points I would recommend if you wish to develop on this system:
+ Use invisible list object (It's faster than the Windows List Object)
+ Use a custom movement
This could have been done in less events however I wanted to ensure the groups and each condition was specified individually so it was more clear to you what happens.
MMF2 Reads events from TOP-to-BOTTOM. This means 'The Only One Action When Event Loops' and it's actions will ONLY be executed AFTER the fast loop which is ordered before it.