So my intention is to goof around and experiment with the Stark Children being found and claiming the North (intend to play as one of them commanding a host). I want to use console and triggers to make this happen, as I am getting the grasp on focus and some other variables. However I am a bit confused as to how the triggers requirements for the event work. Here is the first event.
I fail to understand the OR and NOT parameters, and imagine how they would look on the requirements display when hovering the mouse In Game. For instance, I understand of all characters need to exists in the registries (they would be listed as death by the time the event triggers), I also notice that the flag "stark_child_found" must not be activated (on the player?) by the time it triggers (so that it won´t repeat), at the same time one must not be a Stark and the Sansa-Littlefinger relationship must not be active.
However this is where I get confused. Player needs to be a ruler which is playable and... be a Stark? Is this an alternative (such as being Robb?)?
Also see there must not be a war. But I recall this event triggers in ar time, even when the Wot5K is still ongoing.
So what are the prerequisites, how should I read this? Getting this explained would also help me a lot with some alternative modding projects I got, so any help is extremely appreciated.
Code:
#Find missing Stark child
character_event = {
id = clash_of_kings.11
desc = "EVTDESCclash_of_kings.11"
trigger = {
OR = {
character = 9267059 #Arya
character = 9268059 #Bran
character = 9269059 #Rickon
character = 9266059 #Sansa
}
NOT = { has_character_flag = stark_child_found }
NOT = { dynasty = 59 }
NOT = { liege = { character = 94043 } } #Sansa-littlefinger
OR = {
is_ruler = yes
any_playable_ruler = {
dynasty = 59
at_location = ROOT
}
AND = {
age = 18
liege = {
capital_scope = { continent = continent_westeros }
NOT = { trait = wildling }
war = no
NOT = { any_liege = { war = yes } }
}
}
}
}
I fail to understand the OR and NOT parameters, and imagine how they would look on the requirements display when hovering the mouse In Game. For instance, I understand of all characters need to exists in the registries (they would be listed as death by the time the event triggers), I also notice that the flag "stark_child_found" must not be activated (on the player?) by the time it triggers (so that it won´t repeat), at the same time one must not be a Stark and the Sansa-Littlefinger relationship must not be active.
However this is where I get confused. Player needs to be a ruler which is playable and... be a Stark? Is this an alternative (such as being Robb?)?
Also see there must not be a war. But I recall this event triggers in ar time, even when the Wot5K is still ongoing.
So what are the prerequisites, how should I read this? Getting this explained would also help me a lot with some alternative modding projects I got, so any help is extremely appreciated.