Scripted trigger
character_realm_neighbors_target_trigger
character_realm_neighbors_target_trigger = { TARGET_CHARACTER = … }game/common/scripted_triggers/00_distance_triggers.txt, line 1 (10 lines). Parameters: $TARGET_CHARACTER$.
character_realm_neighbors_target_trigger is a scripted trigger in Crusader Kings III, written at line 1 of its file. A call passes 1 parameter: TARGET_CHARACTER. The game's script calls it in 1 place, among them should_notify_player_about_neighboring_rulers_wars_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_distance_triggers.txt.
What it checks
- Any character to title neighboring county › Their holder:
One of these
this = $TARGET_CHARACTER$or
target_is_liege_or_above = $TARGET_CHARACTER$
• 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 (10 lines of game script)
character_realm_neighbors_target_trigger = {
any_character_to_title_neighboring_county = {
holder = {
OR = {
this = $TARGET_CHARACTER$
target_is_liege_or_above = $TARGET_CHARACTER$
}
}
}
}As written in game/common/scripted_triggers/00_distance_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls character_realm_neighbors_target_trigger.
Scripted triggers (1)
Source: game/common/scripted_triggers/00_distance_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.