Thanks, using a lua module worked quite well!
I’ve got another question though - I want to spawn a set of objects, and then keep a reference to them in an array.
I then want to look if any of those objects are at a specific location in the world, but I can’t seem to find how to access information in those objects.
factory.create returns a hash, which I can use to send messages, but I haven’t seen a go.find( hash ) function returning a reference to the game object itself, in order to access the position of that object.
How would I do that?