2016-05-05 11:23:52 +00:00
|
|
|
// Select names for AI based on the side
|
|
|
|
_side = _this select 0;
|
|
|
|
_firstName = "Tyler";
|
|
|
|
_lastName = "Durden";
|
|
|
|
|
2016-05-17 20:42:51 +00:00
|
|
|
if(SC_useRealNames) then
|
2016-05-05 11:23:52 +00:00
|
|
|
{
|
2016-05-17 20:42:51 +00:00
|
|
|
switch (_side) do
|
2016-05-05 11:23:52 +00:00
|
|
|
{
|
2016-05-17 20:42:51 +00:00
|
|
|
case "survivor":
|
|
|
|
{
|
|
|
|
_firstName = SC_SurvivorFirstNames call BIS_fnc_selectRandom;
|
|
|
|
_lastName = SC_SurvivorLastNames call BIS_fnc_selectRandom;
|
|
|
|
};
|
|
|
|
case "bandit":
|
|
|
|
{
|
|
|
|
_firstName = SC_BanditFirstNames call BIS_fnc_selectRandom;
|
|
|
|
_lastName = SC_BanditLastNames call BIS_fnc_selectRandom;
|
|
|
|
};
|
2016-05-05 11:23:52 +00:00
|
|
|
};
|
2016-05-17 20:42:51 +00:00
|
|
|
_name = format["%1 %2",_firstName,_lastName];
|
|
|
|
_name
|
|
|
|
};
|