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

PatriotOfEldia

Recruit
14 Badges
Mar 10, 2021
9
1
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
I want to show a text in the case there are no holy orders that the player is not a patron of and for that I need to filter a datamodel.
I am using MilitaryView.GetAllHolyOrders but on each item I want to apply HolyOrder.IsPlayerPatron before IsDataModelEmpty(<Filtered MilitaryView.GetAllHolyOrders here>).
Any way to achieve this? Thank you.

End result should be something like this:

Code:
text_single = {
    visible = "IsDataModelEmpty(MilitaryView.GetAllHolyOrders.IsPlayerPatron)"
    text = "No other Holy Orders"
}