Spawned biters with console don't attack

Place to get help with not working mods / modding interface.
johny_zins
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Aug 25, 2025 10:47 am
Contact:

Spawned biters with console don't attack

Post 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
User avatar
Osmo
Fast Inserter
Fast Inserter
Posts: 140
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Re: Spawned biters with console don't attack

Post by Osmo »

There is no such force as "enemies", it is "enemy". Also you can provide a force name directly, so force="enemy"
johny_zins
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Aug 25, 2025 10:47 am
Contact:

Re: Spawned biters with console don't attack

Post 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
Post Reply

Return to “Modding help”