How do I make an event to switch province owners?
E.g. Say I want Curacao to be owned by Germany. If I do it in the saved file, I'd look for HOL country, then find the controlledprovinces list, and delete 801 from there. Then look for GER, find controlledprovinces, and stick 801 in there.
Doesn't sound that hard really. Parameters are country_from, province_id, country_to, and after a couple of checks, delete it from the country_from controlledprovinces list and insert it into the country_to controlledprovinces list. Sounds easy, if you know the specific commands...which I don't.
Would someone show me the specific commands to use?
E.g. Say I want Curacao to be owned by Germany. If I do it in the saved file, I'd look for HOL country, then find the controlledprovinces list, and delete 801 from there. Then look for GER, find controlledprovinces, and stick 801 in there.
Doesn't sound that hard really. Parameters are country_from, province_id, country_to, and after a couple of checks, delete it from the country_from controlledprovinces list and insert it into the country_to controlledprovinces list. Sounds easy, if you know the specific commands...which I don't.
Would someone show me the specific commands to use?