Target conditions inspect the object being processed. Player conditions are on the player and world state page. Bare numeric thresholds are generally at-least comparisons; { min, max } tables are inclusive comparison ranges.
is_dead
Shape: is_dead: boolean
Matches an Actor's dead state. Non-actors return false.
is_dead: falseis_respawning
Shape: is_respawning: boolean
Matches the OpenMW CreatureRecord.isRespawning or NpcRecord.isRespawning flag. This describes whether the actor's base record is marked with the respawn flag; it does not indicate whether the current instance is dead or currently being respawned. Other object types return false.
is_respawning: truecreature_type
Shape: creature_type: creatures | daedra | undead | humanoid | [named values, ...]
Matches a Creature record's OpenMW creature classification. A list is any-of. The schema-approved YAML form uses the four named values. The runtime handler also accepts numeric OpenMW type values, but numeric YAML is not the schema contract.
creature_type:
- daedra
- undead
Non-creatures return false.
race
Shape: race: string | string[]
Case-insensitive exact match against an NPC's race ID. Non-NPCs return false.
race: dunmertarget_disposition
Shape: target_disposition: number | { min?: number, max?: number }
Checks the target NPC's disposition toward the player. A number is a minimum; a range is inclusive. Non-NPCs return false.
target_disposition:
min: 0
max: 30target_level
Shape: target_level: number | { min?: number, max?: number }
Checks the target's current level. A bare number means at least that level; a range is inclusive. Targets without usable level stats return false.
target_level:
min: 10target_attribute
Shape: target_attribute: { AttributeId: number | { min?: number, max?: number }, ... }
Checks modified target attributes. A number is a minimum; a range is inclusive. Every attribute entry must pass. Targets without attribute stats return false.
target_attribute:
strength: 50target_skill
Shape: target_skill: { SkillId: number | { min?: number, max?: number }, ... }
Checks modified target skills. Every entry is ANDed. The handler requires target skill stats; non-compatible targets return false.
target_skill:
longblade:
min: 40target_spell
Shape: target_spell: string | string[]
Matches an exact spell ID known by the target actor. A list is any-of. Targets without an actor spell list return false.
target_spell: fireballtarget_health
Shape: target_health: number | { min?: number, max?: number }
Checks current target health. A number is a minimum and a range is inclusive. Targets without dynamic stats return false.
target_health:
max: 20target_magicka
Shape: target_magicka: number | { min?: number, max?: number }
Checks current target magicka using the same threshold and range semantics as target_health.
target_magicka:
min: 50target_fatigue
Shape: target_fatigue: number | { min?: number, max?: number }
Checks current target fatigue using the same threshold and range semantics as target_health.
target_fatigue:
max: 25target_faction
Shape: target_faction: { faction: string, rank?: integer, min?: integer, max?: integer }
Checks the target NPC's primary faction rank. rank is shorthand for a minimum rank. If no threshold is supplied, the schema rejects the rule; when a threshold is present, the target must belong to the faction and meet the inclusive threshold/range. Non-NPCs return false. This does not search every faction the NPC has joined.
target_faction:
faction: fighters guild
min: 2faction_owner_id
Shape: faction_owner_id: string | string[]
Case-insensitive exact match against the faction ID in the target object's ownership data. A list is any-of. Objects without a faction owner return false.
faction_owner_id: fighters guildowner_id
Shape: owner_id: string | string[]
Case-insensitive exact match against the NPC record ID in the target object's ownership data. A list is any-of. Objects without an owner return false.
owner_id: caius cosadesfaction_owner_rank
Shape: faction_owner_rank: number | { min?: number, max?: number }
Checks the rank stored with the target object's faction ownership. A bare number is a minimum; a range is inclusive. Objects without a faction-owner rank return false.
faction_owner_rank:
min: 2target_class
Shape: target_class: string | string[]
Case-insensitive exact match against an NPC class ID. A list is any-of; non-NPCs return false.
target_class: warrior