• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

efe4231

Recruit
Jul 17, 2022
1
0
Description of issue
focus bug 1.11.12.82b4 [22d5]

Game Version
barbarossa v1.11.12.82b4 [22d5]

Enabled DLC
Death or Dishonor, Waking the Tiger, Man The Guns, Battle for the Bosporus

Do you have mods enabled?
No

Description
i was playing as USA after i did secure asia focus japan refused to give me indochina but i gained war goal againts free france

Steps to Reproduce


Upload Attachment
File(s) attached
 

Attachments

  • 20220816133556_1.jpg
    20220816133556_1.jpg
    486,2 KB · Views: 0
Upvote 0

Mefisto1029

First Lieutenant
12 Badges
Aug 15, 2018
269
211
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Crusader Kings II
  • Age of Wonders III
  • Shadowrun Returns
Yeah, national focus "Secure Asia" aim on controller of "Tonkin" but event are suggesting France.

So first event mtg_usa_secure_asia.7 from this national focus will be targeted into controller of previous state.
Next event mtg_usa_secure_asia.8 or mtg_usa_secure_asia.9 target source of previous event (USA).
mtg_usa_secure_asia.8 event is agreed option = transfer states.
To this point it is all good.
But refuse option mtg_usa_secure_asia.9 create wargoal against France instead of source of this event (controller of "Tonkin").
XML:
##FRA refuses
country_event = {
    id = mtg_usa_secure_asia.9
    title = mtg_usa_secure_asia.9.t
    desc = mtg_usa_secure_asia.9.desc
    picture = GFX_report_event_degaulle_inspect_troops

    is_triggered_only = yes
    option = { #war!
        name = mtg_usa_secure_asia.9.a
        ai_chance = {
            factor = 90
            modifier = {
                has_war = yes
                factor = 0
            }
        }
        create_wargoal = {
            type = puppet_wargoal_focus
            target = FRA
        }
    }
    option = { #no war!
        name = mtg_usa_secure_asia.9.b
        ai_chance = {
            factor = 10
        }
        add_war_support = -0.1
    }
}


But should be:


##FRA refuses
country_event = {
    id = mtg_usa_secure_asia.9
    title = mtg_usa_secure_asia.9.t
    desc = mtg_usa_secure_asia.9.desc
    picture = GFX_report_event_degaulle_inspect_troops

    is_triggered_only = yes
    option = { #war!
        name = mtg_usa_secure_asia.9.a
        ai_chance = {
            factor = 90
            modifier = {
                has_war = yes
                factor = 0
            }
        }
        create_wargoal = {
            type = puppet_wargoal_focus
            target = FROM
        }
    }
    option = { #no war!
        name = mtg_usa_secure_asia.9.b
        ai_chance = {
            factor = 10
        }
        add_war_support = -0.1
    }
}