http://lua-api.factorio.com/latest/LuaC ... ting_stateshooting_state [Read-Write]
yet
Code: Select all
game.players[1].shooting_state.state = defines.shooting.shooting_enemies
game.print(game.players[1].shooting_state.state)
I don't know if this is a bug, or i'm misunderstanding something or if the API documentation is wrong.