1: Load save: 2: script to change the force of the player selected entity:
Code: Select all
/c local carriage = game.player.selected game.print("pre: " .. carriage.force.name) carriage.force = game.forces.enemy game.print("post: " .. carriage.force.name)
4: Hover over the artillery wagon and run the above script in console. The force of the artillery wagon won't change, but no error occurs either.