attack_target_mask and ignore_target_mask for other player combat entities

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
heyqule
Long Handed Inserter
Long Handed Inserter
Posts: 68
Joined: Sun Mar 05, 2017 1:35 am
Contact:

attack_target_mask and ignore_target_mask for other player combat entities

Post by heyqule »

I'm trying to add an invisible unit. Those 2 masks work great on turrets.

However, there is no way to make that work for player combat entities, e.g any friendly "unit" types, spidertron, gun, combat-robot etc. Friendly unit and spidertron can auto target the invisible unit. Adding trigger_target_mask to the TriggerAction items don't work in this case, since they can still target the invisible unit.

Is it feasible to add those two masks for other entity types? Here are the one out of my head. "unit", "spider-unit", "segmented-unit", "gun", "combat-robot" and "active-defense-equipment".
Post Reply

Return to “Modding interface requests”