These commands can do various things on the currently selected current sub-unit, or can use the current list of selected sub-units for wider effect
SelectSubUnits
ex1: SelectSubUnits Area $South_West|Models $mdl_USA_Cav1 $mdl_USA_Cav2
Region <RgnUID> NEW
Pick all elts of a given region (unless another criteria is added)
Area <AreaUID> NEW
Pick all elts of a given area (unless another criteria is added)
Families <Fam1> <Fam2> ..
Will filter the elts which are not of the specified families.
Models <Mdl1> <Mdl2> ..
Will filter the elts which are not of the specified models.
FactionTags <Tag1> <Tag2> NEW
Will filter the elts which are not of the specified factiontag.
Domains <_domLand> <_domNav> <_domAir> NEW
Will filter the elts which are not of the specified Domain (VGN+ only).
[color=Black]Selectors: All elts are added to the list cuSUList, the last elt is added to cuSubUnit.
AlterCuSubUnit[/color]
ApplyToList
All changes are done on the current list of selected elts ([color=Black]cuSUList)[/color], not only on the current selected elt ([color=Black]cuSubUnit).
[/color]Probability
A % roll is done before applying any effect on the elt.
Model or ModelUID
[color=Black]Will alter the elt to the specified model, or to his PrimUpg path or to his SecUpg path. A new name can be given in this case.
ModelUID NewUID/PrimUpg/SecUpg [NewName]
ex2: ApplyToList|probability 35|Model $mdl_USA_Cav2|ChgCohesion 5
ex2: AlterCuSubUnit [/color][color=Black]probability 90|[/color][color=Black]Model $mdl_USA_Patterson3 Retired
The currently selected elt is converted to Patterson3 and is now named 'Retired'.
ChgSeniority
Change the seniority of the elt, if a leader, by this amount. (positive is bad)
[/color][color=Black]ChgCohesion
Change the cohesion of the elt by this amount.
[/color][color=Black]ChgHealth
Change the health of the elt by this amount. Won't kill the elt.
ChgXPLevel
Change the experience level[/color][color=Black] of the elt by this amount (ie 1 means +1 level gained)[/color]
[color=Black]
[/color]Kill NEW
Kill the elt.
Attempts NEW
The number of check (passed or failed if probability is under 100) is limited to this number of attempts.
RerollActivation NEW
Reroll the activation dice of the elt, if a leader and not active.
Others examples:
FifthCoalition1809 event, partial withdrawal from Spain:
Picking all french line elements in Spain, and then remove 15 at most (75% chance for each attempt though):
SelectSubUnits Area $Theater_Spanish_Peninsula|FactionTags FRA|Families $famLine
AlterCuSubUnit ApplytoList|Kill|Attempts 15|Probability 75