Promote a marshal by event

How can I promote a general to the rank of marshal with by event ?


Thanks.

Depending on how the general is created, it will depend.

If the general is created through the country tool, for example, then the character ID will be their name, all lowercase, non-alphanumeric characters removed, and spaces replaced with _; meaning "John O'Sullivan" would become "john_osullivan"

And you can then do:

john_osullivan = {

promote_leader = yes

}


If the general was created in a way you won't know the ID, e.g. they were generated by the game when the player adds a new general to the list, then you will need to do something like:

all_unit_leader = {

LIMIT = {

#Whatever check(s) you can do to narrow down the singular general to promote 

}

promote_leader = yes

}

Thanks !