Вместо имен и фамилий вписываются нужные.
PC_fn_correct_names = { params ["_units"]; private _names = ["Петя","Вася","Коля","Рома"]; private _surnames = ["Петров","Иванов","Сидоров"]; { private _first_name = selectRandom _names; private _second_name = selectRandom _surnames; private _full_name = _first_name + " " + _second_name; _x setName [_full_name, _first_name, _second_name]; } forEach _units; }; [_units] call PC_fn_correct_names; // _units = массив с юнитами, напр.: (units group player)