Hi again, I’ll try to answer your remaining questions:
- If you want units to ignore difficult terrain you can set their PathfindingType to IgnoreCost
- Hard to know what the issue is here. I’ll need more info. Are you getting any specific error messages? What exactly is not working?
- I’d look at the grenade ability for this (when you get it working). The code should work just as well for hex maps, I think.
- You can add a branch before the counter attack and check the range between the units and only do a counter attack if it is below a certain threshold.