MegaGlest Forum

Archives (read only) => Glest Advanced Engine => Feature requests => Topic started by: Zoythrus on 5 December 2010, 00:22:24

Title: Request: removing the "worker mentality"
Post by: Zoythrus on 5 December 2010, 00:22:24
simple, i could use a way to get a non-combative unit from running away from enemies. practical use? as a cloaked spy. maybe only run away if it's spotted?

you see where im going with this, right?

-Zoy
Title: Re: Request: removing the "worker mentality"
Post by: Psychedelic_hands on 5 December 2010, 01:46:59
Yes, I noticed that with the Specter as well.
What if only he didn't move so far? Because he is so fast he moves like 1/4 the map haha.
Title: Re: Request: removing the "worker mentality"
Post by: silnarm on 5 December 2010, 02:06:06
As part of the cloaking work, I plan to make all auto-commands toggle-able. Currently you can only turn auto-repair on/off, auto-attack and auto-flee will also be toggle-able soon.

If a unit has an attack command, auto-attack will be enabled by default and auto-flee will not show, if auto-attack is disabled, auto-flee will show up and be set to true.

That should cover your spy, if it has no attack, its as simple as turning off auto-flee, if it has an attack, you'd have to turn off auto-attack and auto-flee.

Automatically changing these in some circumstances might be nice, (like turning auto-flee back on if detected), but this could be tricky to get right, will think about it for a while.