Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: [0.9a RC10] Memory flags can make fleet try to fight with mothballed ships  (Read 930 times)

Histidine

  • Admiral
  • *****
  • Posts: 4688
    • View Profile
    • GitHub profile

A fleet with MEMORY_KEY_MAKE_AGGRESSIVE and MEMORY_KEY_MAKE_HOSTILE in its memory will always attempt to fight the player in the fleet interaction dialog... even if all they have left are civilian ships, or worse, mothballed civilian ships. Possibly only one of those memory keys is needed, I didn't test.

Minimal save (no mods required to load). Touch the nearest Persean convoy to see the issue.
Memory flags were applied to fleet with the following code in console:
Code: java
runcode Global.getSector().getCampaignUI().getCurrentInteractionDialog().getInteractionTarget().getMemoryWithoutUpdate().set("$cfai_makeAggressive", true);
Global.getSector().getCampaignUI().getCurrentInteractionDialog().getInteractionTarget().getMemoryWithoutUpdate().set("$cfai_makeHostile", true);
Logged