• 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.

kelumden

Second Lieutenant
11 Badges
Jan 4, 2004
104
0
  • Arsenal of Democracy
  • Darkest Hour
  • Europa Universalis III Complete
  • For The Glory
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Rome Gold
  • Sword of the Stars
  • Victoria 2
  • 500k Club
  • Pride of Nations
[FYI] flagname

The parameter which in the instruction flagname is a suffix appended to the country tag, not a name on its own.

So an alternate flag for POR can be called flag_POR2 and will be loaded with the instruction
Code:
command = { type = flagname which = "2" }
 
Last edited:

Khephren

Watery Tart
23 Badges
Mar 29, 2003
1.285
2
  • Victoria 2
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Pre-order
  • 500k Club
  • Arsenal of Democracy
  • Europa Universalis III Complete
  • March of the Eagles
  • Iron Cross
  • Europa Universalis III Complete
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Crusader Kings II
And there is also an explanation in the beta thread

Johan said:
- Implemented the flagname extension code, so that events can change the flags/shields of a nation with the command "type = flagname which = "test", to change for example ENG to ENGtest for flags/shields.