Region <RgnUID>NEWPick all elts of a given region (unless another criteria is added)

Area <AreaUID>NEWPick 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> NEWWill filter the elts which are not of the specified factiontag.

Domains <_domLand> <_domNav> <_domAir> NEWWill 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]

ApplyToListAll 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]ProbabilityA % 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 RetiredThe currently selected elt is converted to Patterson3 and is now named 'Retired'.

ChgSeniorityChange the seniority of the elt, if a leader, by this amount. (positive is bad)

[/color][color=Black]ChgCohesionChange the cohesion of the elt by this amount.

[/color][color=Black]ChgHealthChange the health of the elt by this amount. Won't kill the elt.

ChgXPLevelChange the experience level[/color][color=Black] of the elt by this amount (ie 1 means +1 level gained)[/color]
[color=Black][/color]Kill NEWKill the elt.

Attempts NEWThe number of check (passed or failed if probability is under 100) is limited to this number of attempts.

RerollActivationNEWReroll the activation dice of the elt, if a leader and not active.

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 $famLineAlterCuSubUnit ApplytoList|Kill|Attempts 15|Probability 75

Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

The purpose is to have some elements, within a stack, able to 'protect' the the others selected elements from the effects of the command.

An example will clarify things. We have selected on the map all militia of a faction, and want to reduce by 30 their cohesion, unless in the stack they are in, there is at least one element which has either the *HighMorale* or *IronWill* attribute.

Note that the elements bearing the attributes can be leaders or combat/supports elements.Attributes are to be added in the Attributes column of the models bearing it. Generally, the naming convention have them listed between 2 *. For example *HighMorale*, *Guard*, *EliteSoldier* etc.

The parameter will also need a 'protection' probability. So in the end, here is a valid syntax:

Note that the attributes are cumulative in their protection mechanism, i.e if a stack have at least one element each which has either *HighMorale* or *IronWill*, then the protection probability will be 84% (40% of 40% of not being protected).

This protection probability is checked for each element which should undergo the effect(s) of the command.

Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."