• 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.

Cardolam

Lt. General
3 Badges
May 14, 2018
1.444
17
  • Crusader Kings III: Royal Edition
  • Crusader Kings II
  • Europa Universalis IV
Anybody knows if there is a dynamic expression to be placed inside a localization file for the head of a religion and what is it?


For instance, if the player is catholic the event would display "Pope".


Thanks!
 
I can't test it right now, but you could try [Root.RelHead.GetTitle]. Naturally, replace Root with whichever character you want it to evaluate from, and you may need to make sure the character has a religious head if it could potentially fire for religions that don't always have one.
 
I can't test it right now, but you could try [Root.RelHead.GetTitle]. Naturally, replace Root with whichever character you want it to evaluate from, and you may need to make sure the character has a religious head if it could potentially fire for religions that don't always have one.

It works!

In this way next Friday, when I update Dark Ages, my players can enjoy more detailed event localizations.

Thank you very much.