Home › Effects › UNITS › EFFECT_ADJUST_UNIT_COMBAT_CAPTURE uses

Available out of the box. Usable from Lua in the unmodified game.

EFFECT_ADJUST_UNIT_COMBAT_CAPTURE: where the game uses it

2 modifiers in the game's own data use this effect. Modifier ids, argument values, owners and requirement sets come from the installed game's data files (the base game and every DLC; mods are not included). Text keys are shown as keys: load your own game text to read the in-game wording here.

Arguments: CanCapture (Boolean), UnitType (String).

Used by Modifier Arguments Applies to Conditions In-game text From
UnitAbility ABILITY_CAPTIVE_WORKERS
LOC_ABILITY_CAPTIVE_WORKERS_NAME
CAPTURE_COMBAT_UNITS_AS_WORKERS
MODIFIER_UNIT_ADJUST_COMBAT_CAPTURE
CanCapture = true
UnitType = UNIT_BUILDER
OWNER — LOC_ABILITY_CAPTIVE_WORKERS_DESCRIPTION
LOC_ABILITY_CAPTIVE_WORKERS_MODIFIER_DESCRIPTION
Base
UnitAbility ABILITY_PRIZE_SHIPS
LOC_ABILITY_PRIZE_SHIPS_NAME
CAPTURE_PRIZE_SHIPS
MODIFIER_UNIT_ADJUST_COMBAT_CAPTURE
CanCapture = true OWNER — LOC_ABILITY_PRIZE_SHIPS_DESCRIPTION
LOC_ABILITY_PRIZE_SHIPS_MODIFIER_DESCRIPTION
Base