• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Splorghley

Colonel
109 Badges
Feb 10, 2012
865
4.693
I'd like to script the move of a vanilla character, pre-defined in the game files, from one tag to another. I know I could add a variable to him on creation (à la Santa Anna), but I'm trying not to make changes to vanilla files. Is there any way to retrieve a specific character by script alone (e.g. by checking for first / last name)?

I've thought of narrowing down by the role he's assigned on game start, but that doesn't seem reliable - he could have been moved to a different role by the time the script runs.