affecthuman

weaponmanual page 5

affecthuman

Arguments

Takes no arguments.

What it does

The weapon only affects units with the res_convert attribute.

— modding manual, page 5 (as a weapon command)

From the base game data

weapon data
affecthuman

Interacts with

affectundead commandaffectanimal commandaffectmale commandaffectfemale commandhuman commandundead commandanimal commandfemale command

A weapon with an affect… restriction only harms matching targets: affectundead requires the undead flag, affectanimal the animal flag, and affectmale / affectfemale check the being's sex (female marks a monster or item wearer as female). affecthuman is the odd one out — the manual says it keys on the res_convert attribute rather than the human flag.

— manual

← All commands