Scripted trigger
is_close_family_trigger
is_close_family_trigger = { CHARACTER = … }game/common/scripted_triggers/00_family_triggers.txt, line 223 (7 lines). Parameters: $CHARACTER$.
is_close_family_trigger is a scripted trigger in Crusader Kings III, written at line 223 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 5 places, among them Betrayal (event prison.9503), Beyond All Doubt (event pregnancy.6004) and Freedom! (event prison.9003). Patch 1.20.1.2, from game/common/scripted_triggers/00_family_triggers.txt.
The comment above it in the file
Triggers that take an argument and NOT root
What it checks
One of these
- Any parent:
this = $CHARACTER$
or
Any sibling:this = $CHARACTER$
or
Any child:this = $CHARACTER$
- Any parent:
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (7 lines of game script)
is_close_family_trigger = {
OR = {
any_parent = { even_if_dead = yes this = $CHARACTER$ }
any_sibling = { even_if_dead = yes this = $CHARACTER$ }
any_child = { even_if_dead = yes this = $CHARACTER$ }
}
}As written in game/common/scripted_triggers/00_family_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_close_family_trigger.
Events (4)
- Betrayal
prison.9503 - Beyond All Doubt
pregnancy.6004 - Freedom!
prison.9003 - Rampaging …
hunt.4007
Scripted triggers inside an event file (1)
- feast_default_2003_potential_friend_trigger
Source: game/common/scripted_triggers/00_family_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.