Scripted trigger
hunt_animal_type_predator_trigger
hunt_animal_type_predator_trigger = { VAR = … }game/common/scripted_triggers/00_hunt_triggers.txt, line 944 (11 lines). Parameters: $VAR$.
hunt_animal_type_predator_trigger is a scripted trigger in Crusader Kings III, written at line 944 of its file. A call passes 1 parameter: VAR. The game's script calls it in 10 places, among them Cornering the … (event hunt.1001), Cornering the … (event hunt.1003) and Cornering the … (event hunt.1202). Patch 1.20.1.2, from game/common/scripted_triggers/00_hunt_triggers.txt.
What it checks
One of these
$VAR$ ?= flag:wolfor
$VAR$ ?= flag:hyenaor
$VAR$ ?= flag:lynxor
$VAR$ ?= flag:bearor
$VAR$ ?= flag:lionor
$VAR$ ?= flag:tigeror
$VAR$ ?= flag:leopard
• 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 (11 lines of game script)
hunt_animal_type_predator_trigger = {
OR = {
$VAR$ ?= flag:wolf
$VAR$ ?= flag:hyena
$VAR$ ?= flag:lynx
$VAR$ ?= flag:bear
$VAR$ ?= flag:lion
$VAR$ ?= flag:tiger
$VAR$ ?= flag:leopard
}
}As written in game/common/scripted_triggers/00_hunt_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls hunt_animal_type_predator_trigger.
Events (8)
- Cornering the …
hunt.1001 - Cornering the …
hunt.1003 - Cornering the …
hunt.1202 - Rampaging …
hunt.4007 - Stalking the …
hunt.0500 - Staring Down
hunt.8580
Scripted effects (2)
Source: game/common/scripted_triggers/00_hunt_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.