knyghtmare/Unitmarker

"Flag Unit" on loyals doesn't work

Closed this issue · 3 comments

1.17.10
Click the option doesn't do anything if the selected unit is loyal.

Problem is that this doesn't work, because overlays allways returns empty. Need a different filter. I'm searching for new method, because this can broke one of my addons too.

                            [filter_wml]
                                overlays="misc/loyal-icon.png"
                            [/filter_wml]

imagen

I've changed the filter method and now works with leaders, loyals and normals. Heroes didn't work, neither before nor now, because filtering overlays is now done in a different way and I still don't know how.
#3
Edit: Filtered by ellipse instead of overlays. Works with Delfador on tutorial, for now, but some unique heroes may have different ellipses.

Closed by #3