Robots for PvP start attack every enemy and get the enemy's location
Posted: Wed Jul 24, 2019 7:14 pm
Hello everyone!
I am new at factorio modding.
I making a PvP mod where you can make robots and they go to the enemy base and attack everything what the other players have.
I would like to know how can I make the robots attack everything that the enemy players have, because they doesn't want to attack the main building(rocket silo), which you have to destroy to win the game.
Also I would like to know how can I get the enemy player's coordinates to get the robots to start wonder to the enemies.
The idea is to make a big robot fight between the 2 bases.
And because I am new to this I would like to ask how can I get the functions to run?
I added them to an interface but I don't know yet how they working.
With this: "remote.add_interface"
I appreciate any help I get!
I am new at factorio modding.
I making a PvP mod where you can make robots and they go to the enemy base and attack everything what the other players have.
I would like to know how can I make the robots attack everything that the enemy players have, because they doesn't want to attack the main building(rocket silo), which you have to destroy to win the game.
Also I would like to know how can I get the enemy player's coordinates to get the robots to start wonder to the enemies.
The idea is to make a big robot fight between the 2 bases.
And because I am new to this I would like to ask how can I get the functions to run?
I added them to an interface but I don't know yet how they working.
With this: "remote.add_interface"
I appreciate any help I get!