Scripted trigger
is_close_family_or_spouse_trigger
is_close_family_or_spouse_trigger = { CHARACTER = … }game/common/scripted_triggers/00_family_triggers.txt, line 231 (8 lines). Parameters: $CHARACTER$.
is_close_family_or_spouse_trigger is a scripted trigger in Crusader Kings III, written at line 231 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 8 places, among them Grand Wedding (activity), Not You (event prelude_events.0040) and The Seat of Power (event feast_lifestyle.3001). Patch 1.20.1.2, from game/common/scripted_triggers/00_family_triggers.txt.
What it checks
One of these
- Any parent:
this = $CHARACTER$
or
Any sibling:this = $CHARACTER$
or
Any child:this = $CHARACTER$
or
Any spouse: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 (8 lines of game script)
is_close_family_or_spouse_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$ }
any_spouse = { 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_or_spouse_trigger.
Activities (1)
Events (2)
- Not You
prelude_events.0040 - The Seat of Power
feast_lifestyle.3001
Scripted triggers inside an event file (5)
- murder_feast_victim_valid_avenging_family_trigger
- prelude_events_0160_appropriate_guest
- tgp_movement_events_0010_valid_courtier
- tgp_movement_events_0040_valid_courtier
- tgp_movement_events_0130_valid_courtier
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.