CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

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_alpha
          • this = $FIRST$
        • Any guest subset:
          • name = team_alpha
          • this = $SECOND$
      • or

        All of these

        • Any guest subset:
          • name = team_beta
          • this = $FIRST$
        • Any guest subset:
          • name = team_beta
          • this = $SECOND$

• 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)

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.

Spotted a mistake on this page?