1 |
omg. stop being lame and offer solution than winge, ie,
|
1 |
omg. stop being lame and offer solution than winge, ie,
|
2 |
\n
|
2 |
\n
|
3 |
when player is back join units into groups of epsylon,
|
3 |
when player is back join units into groups of epsylon,
|
4 |
\n
|
4 |
\n
|
5 |
\n
|
5 |
\n
|
6 |
for all units in epsylon of unit:
|
6 |
for all units in epsylon of unit:
|
7 |
if groupid(unit)==null and distance(unit,unit[n]) < epsilon
|
7 |
if groupid(unit)==null and distance(unit,unit[n]) < epsilon
|
8 |
then
|
8 |
then
|
9 |
....if groupid(unit[n])==null
|
9 |
....if groupid(unit[n])==null
|
10 |
....then
|
10 |
....then
|
11 |
........group(unit, next_free_groupid())
|
11 |
........group(unit, next_free_groupid())
|
12 |
....else
|
12 |
....else
|
13 |
........if groupid(unit) == null
|
13 |
........if groupid(unit) == null
|
14 |
........then
|
14 |
........then
|
15 |
............group(unit, groupid(unit[n]) )
|
15 |
............group(unit, groupid(unit[n]) )
|
16 |
........else
|
16 |
........else
|
17 |
............merge_group_ids(groupid(unit),groupid(unit[n]))
|
17 |
............merge_group_ids(groupid(unit),groupid(unit[n]))
|
18 |
\n
|
18 |
\n
|
19 |
\n
|
19 |
\n
|
20 |
and
if
there
are
more
than
epsylon2
enemy
in
area
of
epsylon3
of
average
centre
of
group,
then
paint
a
massive
fucking
arrow
on
centre
of
the
screen
in
the
direction
of
group
centre.
|
20 |
and
if
there
are
more
than
epsylon2
enemy
in
area
of
epsylon3
of
average
centre
of
group,
then
paint
a
massive
fucking
arrow
on
centre
of
the
screen
in
the
direction
of
group
centre.
and
auto
ctrl
group
that
group.
|
|
|
21 |
\n
|
|
|
22 |
also put a message that there are X groups in auto ctrl-1-9 nearby enemys.
|
21 |
\n
|
23 |
\n
|
22 |
done.
|
24 |
done.
|
23 |
\n
|
25 |
\n
|
24 |
\n
|
26 |
\n
|
25 |
about finishing starating buildings there already blocks that put units on wait orders when given to you, so if you built them that was on you.
|
27 |
about finishing starating buildings there already blocks that put units on wait orders when given to you, so if you built them that was on you.
|