Scripted trigger
has_attending_activity_guests
has_attending_activity_guests = yesgame/common/scripted_triggers/00_activity_triggers.txt, line 659 (7 lines). No parameters.
has_attending_activity_guests is a scripted trigger in Crusader Kings III, written at line 659 of its file. It takes no parameters: has_attending_activity_guests = yes (or no). The game's script calls it in 16 places, among them Blót (activity), Capital Examination (activity) and Chariot Race (activity). Patch 1.20.1.2, from game/common/scripted_triggers/00_activity_triggers.txt.
The comment above it in the file
to be run in activity scope
What it checks
- Attending character (more than 1):
• 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 (7 lines of game script)
has_attending_activity_guests = {
# We have more than one attending character
# Host always attends so we ignore them
any_attending_character = {
count > 1 # 1 includes the host who always attends
}
}As written in game/common/scripted_triggers/00_activity_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_attending_activity_guests.
Source: game/common/scripted_triggers/00_activity_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.