Scripted trigger · Tours and Tournaments files
contest_team_enemy_member_exists_trigger
contest_team_enemy_member_exists_trigger = yesgame/common/scripted_triggers/04_ep2_tournament_triggers.txt, line 456 (29 lines). No parameters.
contest_team_enemy_member_exists_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 456 of its file. It takes no parameters: contest_team_enemy_member_exists_trigger = yes (or no). No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_tournament_triggers.txt.
What it checks
scope:activity:One of these
is_in_guest_subset = { name = team_alpha }or
is_in_guest_subset = { name = team_beta }
If
is_in_guest_subset = { name = team_alpha }
Then
- Any guest subset current phase:
name = team_beta- Is available
Otherwise
- Any guest subset current phase:
name = team_alpha- Is available
• 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 (29 lines of game script)
contest_team_enemy_member_exists_trigger = {
scope:activity = {
OR = {
is_in_guest_subset = { name = team_alpha }
is_in_guest_subset = { name = team_beta }
}
trigger_if = {
limit = {
is_in_guest_subset = { name = team_alpha }
}
any_guest_subset_current_phase = {
name = team_beta
is_available_quick = {
ai = yes
alive = yes
}
}
}
trigger_else = {
any_guest_subset_current_phase = {
name = team_alpha
is_available_quick = {
ai = yes
alive = yes
}
}
}
}
}As written in game/common/scripted_triggers/04_ep2_tournament_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_triggers/04_ep2_tournament_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.