enemy ai types

This commit is contained in:
the me 2022-08-18 19:26:10 -07:00
parent 0b371ac22d
commit a8ead4e8df
54 changed files with 620 additions and 14 deletions

View file

@ -49,7 +49,7 @@ function c_loadmarkings() {
for (k=0; k<array_length(global.units[ARMY.THEM]); k++) {
var unitobject = global.units[ARMY.THEM][k];
var i, j;
var mov = unitobject.data.mov.val;
var mov = unitobject.data.mov.val+unitobject.data.rng.val;
for (i=-mov; i<=mov; i++) {
for (j=-mov; j<=mov; j++) {
if abs(i)+abs(j) <= mov {