Search found 2 matches

by johny_zins
Fri Sep 05, 2025 11:52 pm
Forum: Modding help
Topic: Spawned biters with console don't attack
Replies: 2
Views: 583

Re: Spawned biters with console don't attack

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
by johny_zins
Mon Aug 25, 2025 11:05 am
Forum: Modding help
Topic: Spawned biters with console don't attack
Replies: 2
Views: 583

Spawned biters with console don't attack

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

Go to advanced search