I making mod Additional-turret and It was recently added to the 2 type artillery.
viewtopic.php?f=93&t=30865
I make near spawner scan code and I think I'll use it when appropriate.
Code: Select all
/c local p = game.player.surface.find_entities_filtered({area = {{x = game.player.position.x - 100, y = game.player.position.y - 100}, {x = game.player.position.x + 100, y = game.player.position.y + 100}}, type = "unit-spawner"}) game.player.print(p.position.x.." "..p.position.y)
Can you help me?? or tell me a website that can help me??
and have a question
http://lua-api.factorio.com/latest/defi ... d.compound
how to use defines codes??
Sorry my English skill... thank you!