Page 1 of 1

[Rseding91] [0.16.15] artillery autotargets cease_fire=true forces

Posted: Mon Jan 08, 2018 3:08 pm
by i1728
Suppose there are two forces, A and B. Force A has a ceasefire with force B, set by

Code: Select all

game.forces.A.set_cease_fire('B', true)
. An artillery turret belonging to force A will automatically target and fire on aggressive units, such as turrets, owned by force B. In order to prevent artillery turrets belonging to force A from automatically firing on aggressive units owned by force B, force A must have force B set to friend, as in

Code: Select all

game.forces.A.set_friend('B', true)
. This seems unintuitive since having a ceasefire with another force should prevent all turrets from automatically targeting that force and not just non-artillery turrets.

Re: [Rseding91] [0.16.15] artillery autotargets cease_fire=true forces

Posted: Mon Jan 08, 2018 9:09 pm
by Rseding91
Thanks for the report. It's now fixed for the next version of 0.16.