• 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.
Hi, how can I make a event to change Portuguese regime to Communist Portugal, while changing flag and ministers?

Look in dh full/db/events/germany events, search for minister, and get the anchluss event which includes most of what you want.

Then to change the flag: see event-commands.txt in the modding documentation folder.

type = flag_ext where = TAG/-1 [which = "string"] # where – change flag of TAG or current country if where = -1; which - add that string to flag/shield/counter name and skin folder; use empty string ("") or no [which] to clear.


The flag must be in place for it to work.
 
It seems to me that you ask how to change country's politics not just by moving policy sliders. This means you have to change country tag with this command:

type = country which = U15

U15 is Communist Portugal's tag.