Scripted trigger
is_guard_type_character_trigger
is_guard_type_character_trigger = yesgame/common/scripted_triggers/00_travel_triggers.txt, line 7 (18 lines). No parameters.
is_guard_type_character_trigger is a scripted trigger in Crusader Kings III, written at line 7 of its file. It takes no parameters: is_guard_type_character_trigger = yes (or no). The game's script calls it in 4 places, among them 'Haunted' Manor: Safe and Sound (event travel_events.2022), Bully For You? (event travel_events.2016) and Fire! (event travel_events.2012). Patch 1.20.1.2, from game/common/scripted_triggers/00_travel_triggers.txt.
What it checks
One of these
has_court_position = bodyguard_court_positionor
has_court_position = akolouthos_court_positionor
is_knight_of = rootor
has_council_position = councillor_marshalor
save_temporary_scope_as = guard_checkor
All of these
root.current_travel_plan = { … }is_available_travelling_adult = yesis_healthy = yes- Prowess more than 5
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root }
• 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 (18 lines of game script)
is_guard_type_character_trigger = {
OR = {
has_court_position = bodyguard_court_position
has_court_position = akolouthos_court_position
is_knight_of = root
has_council_position = councillor_marshal
save_temporary_scope_as = guard_check
AND = {
root.current_travel_plan = {
scope:guard_check = { is_travel_entourage_character = yes }
}
is_available_travelling_adult = yes
is_healthy = yes
prowess > low_skill_rating
can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root }
}
}
}As written in game/common/scripted_triggers/00_travel_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_guard_type_character_trigger.
Events (4)
- 'Haunted' Manor: Safe and Sound
travel_events.2022 - Bully For You?
travel_events.2016 - Fire!
travel_events.2012 - Fortified Knowledge
travel_events.2013
Source: game/common/scripted_triggers/00_travel_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.