peaceful mode not working?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
nuhll
Filter Inserter
Filter Inserter
Posts: 923
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

peaceful mode not working?

Post by nuhll »

Hi, i need to enable peavefull mode because my base is down and i cant get new coal bc they attack everytime i weant to build something new with like 89123121312 large biters...

I open console and put /c game.player.surface.peaceful_mode = true

there is no error, still tehy engage...?

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: peaceful mode not working?

Post by daniel34 »

You also need to run

Code: Select all

/c game.forces["enemy"].kill_all_units()
to kill all the remaining biters/spitters on the map, peaceful mode only affects newly spawned enemies.
quick links: log file | graphical issues | wiki

nuhll
Filter Inserter
Filter Inserter
Posts: 923
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: peaceful mode not working?

Post by nuhll »

ah, okay thanks.

Post Reply

Return to “Gameplay Help”