Scripted trigger · Tours and Tournaments files
activity_tournament_same_team_trigger
activity_tournament_same_team_trigger = { FIRST = … SECOND = … }game/common/scripted_triggers/04_ep2_tournament_triggers.txt, line 282 (26 lines). Parameters: $FIRST$, $SECOND$.
activity_tournament_same_team_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 282 of its file. A call passes 2 parameters: FIRST and SECOND. The game's script calls it in 3 places, among them …: Contest Begins (event contest_events.0600), …: Mortal Combat (event contest_events.1131) and …: Mortal Combat (event contest_events.1133). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_tournament_triggers.txt.
What it checks
scope:activity:One of these
All of these
- Any guest subset:
name = team_alphathis = $FIRST$
- Any guest subset:
name = team_alphathis = $SECOND$
- Any guest subset:
or
All of these
- Any guest subset:
name = team_betathis = $FIRST$
- Any guest subset:
name = team_betathis = $SECOND$
- Any guest subset:
• 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 (26 lines of game script)
activity_tournament_same_team_trigger = {
scope:activity = {
OR = {
AND = {
any_guest_subset = {
name = team_alpha
this = $FIRST$
}
any_guest_subset = {
name = team_alpha
this = $SECOND$
}
}
AND = {
any_guest_subset = {
name = team_beta
this = $FIRST$
}
any_guest_subset = {
name = team_beta
this = $SECOND$
}
}
}
}
}As written in game/common/scripted_triggers/04_ep2_tournament_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls activity_tournament_same_team_trigger.
Events (3)
- …: Contest Begins
contest_events.0600 - …: Mortal Combat
contest_events.1131 - …: Mortal Combat
contest_events.1133
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.