--------------------------------------------------- mir ai patrol/evade movements --------------------------------------------------- you can setup your own movements: please change the steps -- (aai_circ_y and aai_circ_x array) and don't forget to update -- aai_circ_maxstep if you add or remove a step! aai_circ_radius aai_north aai_south aai_east aai_west aai_north2 aai_south2 aai_east2 aai_west2
= = = = = = = = =
6 aai_circ_radius -aai_circ_radius -aai_circ_radius aai_circ_radius aai_circ_radius / 2 + 1 -(aai_circ_radius / 2 + 1) -(aai_circ_radius / 2 + 1) aai_circ_radius /2 + 1
-- circle steps --------6 -5 7 --- 4 target 8 --3 1 -2 --------------------------direction: herz aai_circ_y = {3, 4, 2, -1, -3, -4, -3, -1, 2, 4} aai_circ_x = {0, 3, 5, 5, 3, 0, -3, -5, -5, -3} aai_circ_maxstep = 10