a is bool if we want to see hostile force performing attack a = 1
0001 0002 function [pos, vi] = getPos(t, a) 0003 % a is bool if we want to see hostile force performing attack a = 1 0004 0005 load enemy_positions; 0006 0007 pos = south_enemy(t:(t+9), :); 0008 vi = [159 149]; 0009 0010 0011