Trigger bug aggro

Place to get help with not working mods / modding interface.
Post Reply
Demosthenex
Fast Inserter
Fast Inserter
Posts: 144
Joined: Mon Mar 14, 2016 3:51 pm
Contact:

Trigger bug aggro

Post by Demosthenex »

I'm trying to trigger the (vanilla AI) bugs to attack the player. I've tried using entity.damage including the player's force against a nearby hive, and that did not trigger the bugs to react. I tried applying flame to the hive via create_entity again with the player force and they did not react.

What kind of damage can I apply to a hive to trigger the bugs to attack the player?

My goal is to trigger the hive to send all nearby bugs to attack just like what happens when a vanilla artillery hits a hive. I'm not sure if that's damage or complete destruction, but all nearby biters all rush to attack the player even from an extended distance.

Post Reply

Return to “Modding help”