They can be detected by "A unit enters map", and changed ownership, but my problem with the simple changed ownership (to Neutral Extra) technique is that units "attacked" by locusts run away.Not too sure if it's hardcoded... You may be out of luck.
You could try changing the owner of the Locusts. Not sure if you'll have issues getting reference to these units though. I would first try to see if they fire a "A unit enters map" Event to see if you can get them like that. I know you can't find them using Pick Every Unit. One potential fix to this would be to Remove the Locust ability from them in the OE then in the Enters map trigger change their owner and add Locust to them.
I don't think this will work though. You would probably be better off creating the spell from scratch yourself.
I did. I used Bribe's Damage Engine and made the attack to be a heal, but annoyingly, units run away from the locusts.Could you catch the attack with the "A unit is attacked" event and interrupt it/heal in response?
Yeah, the units flee because damage is being dealt. I said to interrupt the attack so it never happens.I did. I used Bribe's Damage Engine and made the attack to be a heal, but annoyingly, units run away from the locusts.
Now the problem is that they stick to just one unit, and focus fire it.Yeah, the units flee because damage is being dealt. I said to interrupt the attack so it never happens.