Rims, I didn't touch that bit of code. I can't think how any of my latest changes could have affected it...It's checking the collision layer for zeroes - which is correct, so I can't think why it's not working. What does the map look like in the editor? Have you somehow got a screwed up map where all the tiles are collisions? confused...
Aha, just looked at ClearVis() in my post above: make sure LAYER_VISIBLE is being defined by an included file. Because if it's not defined, it will be setting the entire collision layer (0) to zeroes, instead of the entire vis layer (6) to zeroes! (Although I still can't see why that would make the alien create stuff loop!)
Aha, just looked at ClearVis() in my post above: make sure LAYER_VISIBLE is being defined by an included file. Because if it's not defined, it will be setting the entire collision layer (0) to zeroes, instead of the entire vis layer (6) to zeroes! (Although I still can't see why that would make the alien create stuff loop!)