• 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.
Showing developer posts only. Show all posts in this thread.
Update:

- Added ability to save flags on titles
- Added set_title_flag effect
- Added clr_title_flag effect
- Added has_title_flag trigger
- Added had_title_flag trigger
 
Update:

- Now possible to save variables on titles
 
with the addition of new variable stuff, is there any way for variable info to be shown within the interface?

No, I don't think that's possible.
 
Update:

- Added support for weighted names (i.e. Lars_Laurence:50, where default value is set at 1)
- Added an on_startup on action
 
Last edited:
Would 0 mean, they just use it if Laurence convert to Swedish and became Lars? But Swedes would never call there children Lars? That would be awesome!

No, zero would mean it's never picked.
 
Yes. That's what I want. But if a English Henry for exemple would convert to German with Heinrich_Heny:0 his name would still change to Heinrich, right?

Yes. I've only changed how the names are used when you generate a new character with a random name.
 
Maybe a dumb question, but I would want to be sure: would on_startup be called only at the start of a campaign, or also at any instance of loading a savegame?

Probably both, but I'm not sure. But if you use it for something like an welcome event, you could just set a global flag to stop it from triggering again.
 
Would it be possible to have something higher than 1 as the default? If 1 is the default for adding a name that should only show up seldom values for all the existing names have to be set, too ...

Good point. I've set the default value to 100 instead.
 
Update:

- Variables can be displayed with localization system (i.e. "[Root.PrimaryTitle.test_var.GetName] has value [Root.PrimaryTitle.test_var.GetValue].")
 
! is this in response to when i asked if variables can be shown in in the interface or is this purely for event text? either way its a help :)

It "only" means that you can use it in all places where you normally can use localisation based on a scope, such as events, decisions, etc.
 
Can you localize to global variables as well?

By global variables, do you mean the globally saved event targets? Because then yes (that was already in). What this update concerned was the province, character and titles variables.
 
By global variables, do you mean the globally saved event targets? Because then yes (that was already in). What this update concerned was the province, character and titles variables.
I mean actual variables. Unless there aren't actually any global variables (E.G., you might want to have something to track something that's not really tied to any specific character/title/province).
 
I mean actual variables. Unless there aren't actually any global variables (E.G., you might want to have something to track something that's not really tied to any specific character/title/province).

There are no global variables.