area/randomObjs
New()
..()
new/obj/Object(src)
But it only creates one obj on the area tile that's closest to the 1,1 coordinate. How do I make it so it will create an object on every single one of those areas; almost like a for loop.
note: I also tried using a for() loop in the world/New() proc, but still nothing.
Well, that's because for the location, you're using an area. In the location sense, an area doesn't refer to a specific tile (like a turf), but to a collection of them. So you're not actually telling DM which tile you want, so it just uses the first one in that area. As you know, you need to use a turf to choose a specific tile.
Not "almost like", exactly. :P
Read this and you'll get going. But note unless you've meant "turfs" instead of "areas", that should be in singular; it's a single area that's involved, it just spans across multiple turfs.
Eh, this one is kinda vague since you could have tried many things in a for() loop, but whatever.