Console commands not working?

Bugs that are actually features.
Post Reply
User avatar
Brathahn
Fast Inserter
Fast Inserter
Posts: 108
Joined: Sat Aug 02, 2014 1:50 pm
Contact:

Console commands not working?

Post by Brathahn »

Hi there,
i was playing around with the console a bit and saw that some commands are not working while others are.
Did the command change or is it a bug?

Image

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Console commands not working?

Post by orzelek »

There was a name update to add underscores to command names between the words. Some commands also changed places - list can be found in release notes.

FishSandwich
Smart Inserter
Smart Inserter
Posts: 1847
Joined: Sun Feb 23, 2014 3:37 pm
Contact:

Re: Console commands not working?

Post by FishSandwich »

Code: Select all

game.peaceful_mode = false
game.force['enemy'].kill_all_units()

User avatar
Brathahn
Fast Inserter
Fast Inserter
Posts: 108
Joined: Sat Aug 02, 2014 1:50 pm
Contact:

Re: Console commands not working?

Post by Brathahn »

Seems like the wiki is outdated.
Anyways, thank you!

Edit: it has to be game.forces['enemy'].kill_all_units()

Post Reply

Return to “Not a bug”