So for detecting a player character is: ai = no
I believe you can select all children with any_child or something like that.
I believe you can then target their ward by something like:
has_ward
ward = { /* and then specify the qualifications of the wards you're looking for */}
The wards we are looking for in this case are those whom have player lieges, so: liege = { ai = no}
So ultimately, in quasi-theoretical-pseudo-code:
any_child = {
has_ward
ward = {
liege = { ai = no }
}
}
So I'll give this a go tonight or sometime this weekend, but if anyone has experience with these kinds of targetting, please share your wisdom!
I believe you can select all children with any_child or something like that.
I believe you can then target their ward by something like:
has_ward
ward = { /* and then specify the qualifications of the wards you're looking for */}
The wards we are looking for in this case are those whom have player lieges, so: liege = { ai = no}
So ultimately, in quasi-theoretical-pseudo-code:
any_child = {
has_ward
ward = {
liege = { ai = no }
}
}
So I'll give this a go tonight or sometime this weekend, but if anyone has experience with these kinds of targetting, please share your wisdom!