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

Pancakelord

Lord of Pancakes
44 Badges
Apr 7, 2018
3.375
12.292
  • Cities: Skylines - Green Cities
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Ancient Relics
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Imperator: Rome
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Cities: Skylines Industries
  • Imperator: Rome Deluxe Edition
  • Magicka: Wizard Wars Founder Wizard
  • Stellaris: Nemesis
  • Europa Universalis IV
  • Stellaris: Necroids
  • Sword of the Stars
  • Crusader Kings III
  • War of the Roses
  • Cities: Skylines
  • Stellaris: Federations
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris: Lithoids
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris - Path to Destruction bundle
  • Stellaris: Megacorp
  • Stellaris: Synthetic Dawn
  • Crusader Kings II
  • Stellaris
  • Cities: Skylines Deluxe Edition
  • Sword of the Stars II
  • March of the Eagles
  • Darkest Hour
I'm trying to reference a leader's name as a heading in the situation log. Wondering what the best way to go about doing this is.

1613444033743.png


This is the guy I want to get, he's technically an envoy that isnt allowed to do envoy jobs (don't ask), so I'm thinking either scoping to that faction or cycling through the envoys might be useful here.
1613444089129.png


Essentially, I want to shove his name in to these square brackets.
1613444298505.png


It looks like scripted_locs only work to sort vs existing localisation strings, unless i'm mis-interpreting what they do, whilst I want to pull a living leader's name.
1613444514708.png

Ordinarily this would be easy enough to do by referencing a leader in an event, but cant do that here as the string is as it is.

I also saw the Wiki also has the below in red,
1613444662313.png

but save_event_target_as = my_pretender_1_name [run when the leader is created] doesnt seem to work when i insert [my_pretender_1_name.GetName] into the string, I just get a blank. I assume this is due to a scope mismatch.

In the original photo up at top, in the description i'd fed this in, it looks like the Situation log sits in the country scope.
1613444757524.png


So I'm wondering if anyone knows how I can scope from the country scope down to my faction leader's name for use in the situation log?
If I cant find a way i'll have to go with naming the pretenders as "ALPHA" "BETA" Etc, which isnt quite as immersive as using their names - the event chain could eventually have as many as 5 pretenders - leading in to a 6-way (inc. Overlord nation) civil war.