okay i tried te function wich i think has kind of worked but the group chat is getting an error something like nt expected string or something like that heres the script
_unitknown = [west_units, [east1,east2,east3,east4,east5,east6,east7,east8], true] call knownUnits
_hourdir = [player,_unitwich] call DirInhour
_distunit = [getpos _unitwich,getpos player] call distancePos
player groupchat [format ["CONTACT %1 AT %2",_distunit,_hourdir]]
it should if west units knows about anyof the east units selected and then check the direction and distance from the player to that unit then the player should group chat that the east unit is "distance" then "direction"
whats wrong here