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.
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.
Essentially, I want to shove his name in to these square brackets.
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.
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,
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.
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.

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.

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

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.

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,

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.

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.