[Freeciv] Re: workinglist for units
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Den tor, 03 aug 2000 skrev Bevan Broun:
> on Wed, Aug 02, 2000 at 05:43:46PM +0200, Michael Kiermaier
> <michael.kiermaier@xxxxxxx> wrote:
> > What do you think about a workinglist option for units?
>
> I have been thinking something similar with regard to reconnaissance
> missions (ie checking out if anyone around). I found it tiring to make
> my fighter to
>
> move1: go 5 move in one direction then back
> move2: go 5 move in different direction then back
> ...
>
> I would have like to assign a macro to the unit with logic like:
>
> until ( something seen or happens ) do {
> move1: go 5 move in one direction then back
> move2: go 5 move in different direction then back
> move3: ...
> last move: end back at the starting postition
> }
>
> the macro would stop and the unit require attention as soon as an
> opposition unit was encounterd. I imagine that it would be possible to
> use key stroke recording to write the macros.
I allready have code that (almost) does this; it is a goto/patrol in the
cilent with waypoints.
-Thue
|
|