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

Chatoustikmou

Major
146 Badges
May 21, 2016
752
1.359
  • Europa Universalis IV: Conquest of Paradise
  • Cities: Skylines - After Dark
  • Tyranny: Archon Edition
  • Europa Universalis IV: Mandate of Heaven
  • Magicka 2
  • Europa Universalis IV: Third Rome
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Cossacks
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Jade Dragon
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Stellaris: Synthetic Dawn
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: The Republic
  • Crusader Kings II
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Warlock 2: The Exiled
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • Rome: Vae Victis
  • Sengoku
  • Ship Simulator Extremes
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Teleglitch: Die More Edition
  • Victoria 2
  • Hearts of Iron III: Their Finest Hour
  • The Kings Crusade
  • Knights of Pen and Paper +1 Edition
  • King Arthur II
  • Impire
  • Heir to the Throne
  • Hearts of Iron III
  • For the Motherland
  • Hearts of Iron IV: No Step Back
  • Divine Wind
  • Cities in Motion 2
  • Arsenal of Democracy
Short summary of your issue
Character interacting with themselves in childhood events

Game Version
1.4.4

What OS are you playing on?
Windows

What platform are you using?
Steam

Do you have mods enabled?
No

Have you tried verifying your game files (Steam only)?
Yes

How much "pain" is this causing you?
1

Please explain the issue you experienced in the most condensed way possible
In childhood events childhood.1015, childhood.1017 and childhood.1018, a random county holder from the child's liege's sub_realm is designated as scope:province_holder, which is a character the child interacts with in the event. In some cases, the random county holder can be the child themselves, as there's no trigger checking that NOT = { THIS = ROOT } in the iterator that picks the random county holder.

Please explain how to reproduce the issue
Play as a child non-independent ruler that is the only vassal of their liege. Both the child and their liege should hold all of their baronies themselves, so there is a 100% chance that the child ruler is the random_sub_realm_county holder.
Get a child to court and make them your friend, make sure both have the same education focus so the event can fire, otherwise they won't.
Trigger the 3 events.

Is there anything else you think could help us identify/replicate the issue?
In this desc loc from childhood.1015, the character receiving the event is talking about themselves when using [province_holder.GetTitledFirstName]

Code:
childhood.1015.desc:1 "At the insistence of [educator.GetTitledFirstName], my [ROOT.GetCharacter.Custom2('RelationToMe' , SCOPE.sC('study_friend'))] [study_friend.GetFirstName] and I have been following the ongoing negotiations regarding the crown's involvement in the local administration of the [province.GetName].\n\nDuring the discussions, I cannot help but notice that [province_holder.GetTitledFirstName] has no clue about how to coordinate such an effort, and since I have studied the subject for a while I should probably intervene."

In the script screenshot, the limit block of the random_sub_realm_county iterator should be corrected as follows:
Code:
limit = {
   holder = {
      NOR = {
         this = scope:liege
         THIS = ROOT
      }
   }
}

I have attached a save game
No

Upload Attachment
File(s) attached
 

Attachments

  • ubiquitous_Eudes_script.JPG
    ubiquitous_Eudes_script.JPG
    126,1 KB · Views: 0
  • ubiquitous_Eudes.png
    ubiquitous_Eudes.png
    4,2 MB · Views: 0
Last edited: