MP. Console. Peaceful mode

Post all other topics which do not belong to any other category.
Post Reply
DRBLN
Filter Inserter
Filter Inserter
Posts: 411
Joined: Sat Mar 23, 2013 12:44 pm
Contact:

MP. Console. Peaceful mode

Post by DRBLN »

Please,advise how to enabe it in MP.
This command didn't work:
/c game.player.surface.peaceful_mode = true

Daid
Fast Inserter
Fast Inserter
Posts: 163
Joined: Sun Jul 03, 2016 7:42 am
Contact:

Re: MP. Console. Peaceful mode

Post by Daid »

untested, but no reason why it wouldn't work.

/c game.surfaces[1].peaceful_mode = true

User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1190
Joined: Wed May 18, 2016 4:55 pm
Contact:

Re: MP. Console. Peaceful mode

Post by Mooncat »

You have to kill all existing aliens to refresh their states, because peaceful mode is applied to the units, not the game or map.
/c game.forces["enemy"].kill_all_units()

Post Reply

Return to “General discussion”