Scripted trigger · By God Alone files
pam_schism_head_of_rite_and_opposing_character_trigger
pam_schism_head_of_rite_and_opposing_character_trigger = { HEAD = … OTHER = … }game/common/scripted_triggers/pam_scripted_triggers.txt, line 323 (16 lines). Parameters: $HEAD$, $OTHER$.
pam_schism_head_of_rite_and_opposing_character_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 323 of its file. A call passes 2 parameters: HEAD and OTHER. The game's script calls it in 2 places, among them on_death (on action) and excommunicate_character (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
The comment above it in the file
Great Schism: $HEAD$ heads one schism-pair rite; $OTHER$ follows the opposing. False if unset. Any scope
What it checks
- The Christian Church:
One of these
All of these
var:schism_mainline_rite.head_of_rite ?= $HEAD$$OTHER$.rite ?= var:schism_competitor_rite
or
All of these
var:schism_competitor_rite.head_of_rite ?= $HEAD$$OTHER$.rite ?= var:schism_mainline_rite
• 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 (16 lines of game script)
pam_schism_head_of_rite_and_opposing_character_trigger = {
situation:the_christian_church ?= {
exists = var:schism_mainline_rite
exists = var:schism_competitor_rite
OR = {
AND = {
var:schism_mainline_rite.head_of_rite ?= $HEAD$
$OTHER$.rite ?= var:schism_competitor_rite
}
AND = {
var:schism_competitor_rite.head_of_rite ?= $HEAD$
$OTHER$.rite ?= var:schism_mainline_rite
}
}
}
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_schism_head_of_rite_and_opposing_character_trigger.
On actions (the game's own hooks) (1)
- on_death
Scripted effects (1)
Source: game/common/scripted_triggers/pam_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.