Enemy/Force - Help Needed

Place to get help with not working mods / modding interface.
Post Reply
TheSAguy
Smart Inserter
Smart Inserter
Posts: 1449
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Enemy/Force - Help Needed

Post by TheSAguy »

I’ve added my own Biter Spawner.
I’d like for units that spawn from it attack both the player and vanilla enemies.

How would I do that?
I know it’s something to do with force, but unsure how to implement it.


Thanks.

Julianus
Inserter
Inserter
Posts: 29
Joined: Sat Jan 31, 2015 7:33 pm
Contact:

Re: Enemy/Force - Help Needed

Post by Julianus »

wonder if this is it,

https://forums.factorio.com/wiki/inde ... e=Lua/Game

there is something called create_force I would play around with.

(Google, 30secs)

Post Reply

Return to “Modding help”