Unit Marker Improvements
Adds a delay (5s) between each unit's ping. This fixes the ping spam on los edge. Removes pings after 10s (for mobiles only, structures will not be removed).
Won't the removal remove other markers and make gaps in drawings?
Technically the 5s delay is unitID hax and it will still spam for armies of spotted units. How about a distance based frequency limit?
Yes it will unfortunately remove placer markers and screw with drawings. However the benefit is that we can de-clutter a mass of labels when big scythe or Athena armies uncloak. I think this benefit outweighs the drawback, though if there was a way to remove local pings that would be great.
Mostly this is an improvement in big team games where mass decloaks aren't uncommon. With a distance modifier, i still think labels from widgets should self remove after some time because the information will eventually be irrelevant and over time this may decrease visibility of the map (the current stable of the widget is notoriously bad with athena clouds on the edge of los!)
I take it you want to store the uncloak position and frame of this position then check on decloak how far it was from it? Perhaps an ordered table of coordinates followed by a ping like " 12 scythes spotted" on next frame? Or perhaps something else in mind? I'm open for suggestion.
Grouping things together sounds ideal. I primarily want to avoid adding unitID hax - tracking information about hidden units.
Looks stale, is anything going to happen?
It looks ok but is still a draft.