nef wrote: ↑Tue May 16, 2023 6:35 am
omero wrote: ↑Wed May 03, 2023 7:22 am
Just wondering about ... Would it be possible to have a LUA script that will _hotlink/box/frame_ all units of one type in every spot of the map?
That would already help much tracking down 'lost' units when one just 'scrolls' around on the map view.
I will add this to my list of SP utilities: I am always looking out for ideas. I already have code (twice over) to do this for explicitly nominated units (or cities) but they do other things as well. There are limited options in featured text, so at the moment all I can think of is for you (as the user) to specify the unit type either by rule name or id.
I might add it does work: it will locate the unit no matter what it is doing. Moreover, you only need to do it once for units you currently have. The hotlink follows the unit. A question: would it be useful if the list printed in chat log (etc.) included user text so you can be selective hunting down particular units?
YES! (I could not resist pulling this off)
Me, (the user)... I would surely answer YES (of course). An ambiguous answer to an ambiguous question, because me (<random name goes here>) is not everyone else.
Let me elaborate on more serious ground (v2.6-wise):
Cities are an interesting option, but you see them on plain sight already (on the map).
You also see immediately when they're in turmoil (the angry fist)... But that's another topic.
The units however are not so trivial to track down (because they can be doing something _inside_ a city). What those units are doing is ... Irrelevant.
What is relevant is... Where are they NOW on the map once you have lost track of them? One can cycle through EVERY single city, and 'wake up' every single unit that such city has inside or supports (near, far from...) and it soon becomes a tedious exercise of patience and determination.
Highlight them with a 'frame'.
Let (<random name>) player _spot_ them easily on the map!
From (<random name>) single player point of view, having those 'lost units' listed somewhere (anywhere) would be _PERFECT_, but again... Uhm. ANYWHERE! Just somewhere... Even just the 'frame' would be already GREAT!
Cheers o/