SelectFaction = $SIA
SetColStatusArea = $Colony_Siam;$colInfluenced
Where I have the choice between: $colUnknown, $colWild, $colUnclaimed, $colInfluenced, $colProtectorate, $colColony, $colVassal, $colDominion, $colOtherNonNat, $colNational
I don't think defining a region is necessary, I tried with and without and it doesnt seem to make a difference.
The problem is that it doesnt work properly. When I tell the game to change Siams colonial status to anything else than national, it refuses to do so. It adds the status of the new owner, but Siams status supercedes it. The script log states that it didnt encounter any problems, thats what leaves me wondering.
Line 761: SelectFaction, selected: Siam
Line 762: SelectRegion, 1127 Bangkok selected (simple mode)
Line 763: SetColonialStatusArea 686 Siam Colonial status set to Influenced territory
Line 764: SelectFaction, selected: Prussia
Line 765: SelectRegion, 1127 Bangkok selected (simple mode)
Line 766: SetColonialStatusArea 686 Siam Colonial status set to Protectorate
When I try to lower Siams CP to anything below 101% (either removing 101 all at once, or at least 20) the log tells me it cant change the CP because it is already at 101%, and I should change the status of the colony/region instead (duh!)
Line 750: SelectRegion, 1127 Bangkok selected (simple mode)
Line 751: [Warning] ChgColonialPen Bangkok no change will be done, as already at 101. Change status instead
At last, just annexing Siam won't help much, it just passes the problem to the new owner, and Siams 101% CP in the capital region even remain. Also I don't want it to be annexed, I wan't it as colony so I can use the according cards