change diplomatic settings - "teams are locked"

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
Pascali
Fast Inserter
Fast Inserter
Posts: 170
Joined: Wed Aug 23, 2017 8:24 pm
Contact:

change diplomatic settings - "teams are locked"

Post by Pascali »

we are getting "teams are locked", if we wan´t to change the diplomatic settings to friendly. How can we change the doplomatic settings. Is there any command?

thank you!

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

Re: change diplomatic settings - "teams are locked"

Post by daniel34 »

If you are using a mod or scenario to set up the teams then check the mod's description / ask the mod author.

Or you can use this command:

Code: Select all

/c game.forces['force1'].set_friend('force2', true)
Replace force1 and force2 with the actual names of the forces. Use false instead of true if you want to unfriend them. Also note that this command is one-sided, if you want to have both of them be friendly to each other you need to repeat the command with force1 and force2 in reverse order.
quick links: log file | graphical issues | wiki

Pascali
Fast Inserter
Fast Inserter
Posts: 170
Joined: Wed Aug 23, 2017 8:24 pm
Contact:

Re: change diplomatic settings - "teams are locked"

Post by Pascali »

thank you!

Post Reply

Return to “Technical Help”