It occurred to me yesterday that certain really useful widgets such as the one that automatically produces a marker at a sighted enemy commander's position result in a lot of map spam and, potentially, confusion. ("Which of these eleventeen-thousand BOI RUNNIN' markers is most recent?")
Since this is a fairly obvious concusion, I decided that it probably just isn't possible for LUA to remove markers, so here I am.
It would be nice if you could have LUA automatically remove a marker if so desired after a certain amount of time.
For your entertainment and as an example, here is some failcode:
Code: Select all
OMGITSACOMMANDER
{
if new_unit_in_los
{
if newunit = commander
make_marker
wait 60
remove_marker
}
}
As a secondary use, a widget might be made which automatically removes any writing/markers after a certain defined period of time.
Since the coding elite already stopped reading and have begun writing the "ffs this goes in the lua forum", I'll add this bit here: I'm not requesting a widget, I'm requesting that a widget be able to do something, meaning an engine modification. Thxbai