Scripted trigger · Tours and Tournaments files
tournament_character_any_contest_winner_trigger
tournament_character_any_contest_winner_trigger = { CHAR = … CONTEST = … }game/common/scripted_triggers/04_ep2_tournament_triggers.txt, line 309 (9 lines). Parameters: $CHAR$, $CONTEST$.
tournament_character_any_contest_winner_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 309 of its file. A call passes 2 parameters: CHAR and CONTEST. The game's script calls it in 1 place, among them GetRandomWonContest (custom loc). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_tournament_triggers.txt.
What it checks
- Their activity › Any guest subset:
name = winnerphase = tournament_phase_$CONTEST$
• 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 (9 lines of game script)
tournament_character_any_contest_winner_trigger = {
involved_activity = {
any_guest_subset = {
name = winner
this = $CHAR$
phase = tournament_phase_$CONTEST$
}
}
}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 tournament_character_any_contest_winner_trigger.
Customizable localization (1)
- GetRandomWonContest
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.