Page 1 of 1

Spawned biters with console don't attack

Posted: Mon Aug 25, 2025 11:05 am
by johny_zins
Hello,
After spawning biters with console, they only attack turrets and then sit around
Any way to change their behaviour with console? or in the same command

/c for i=1, 10 do game.player.surface.create_entity{name="small-biter", position={0, -1390}, force=game.forces["enemies"]} end

Re: Spawned biters with console don't attack

Posted: Mon Aug 25, 2025 9:20 pm
by Osmo
There is no such force as "enemies", it is "enemy". Also you can provide a force name directly, so force="enemy"

Re: Spawned biters with console don't attack

Posted: Fri Sep 05, 2025 11:52 pm
by johny_zins
Osmo wrote: Mon Aug 25, 2025 9:20 pm There is no such force as "enemies", it is "enemy". Also you can provide a force name directly, so force="enemy"
Tried it and unfortunately same problem. spawn them and they don't act as normal