effect · promote_officer_to_general
Definition
- Supported scope:(none)
- Supported target:
none
Description
Promote the officer of the division to a general.
Example:
promote_officer_to_general = yes # yes/no is ignored
promote_officer_to_generalnonePromote the officer of the division to a general.
Example:
promote_officer_to_general = yes # yes/no is ignored
Hands-on notes are AI-generated and checked against the vanilla command vocabulary — treat them as a starting point, not authoritative reference. The definition above is the game's own documentation.
promote_officer_to_general is commonly used in events or decision chains to automatically promote a division's commander to general rank, making it ideal for "rise of legendary generals" or campaign reward mod scenarios. For example, after a major victory event triggers, you can promote your elite division commander directly to general:
country_event = {
id = my_mod.1
# ...
option = {
name = my_mod.1.a
# Current scope is the division scope
promote_officer_to_general = yes
}
}
Since the current scope whitelist contains no equivalent-level effect or trigger commands, no useful cross-references can be listed. It is recommended to verify in the outer logic before calling this effect that the target division exists and has an assigned officer, to avoid silent failures.