mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Update object_speak.sqf
This commit is contained in:
@@ -39,7 +39,7 @@ if (count _this > 4) then {
|
|||||||
};
|
};
|
||||||
|
|
||||||
_isWoman = getText(configFile >> "cfgVehicles" >> (typeOf _unit) >> "TextPlural") == "Women";
|
_isWoman = getText(configFile >> "cfgVehicles" >> (typeOf _unit) >> "TextPlural") == "Women";
|
||||||
if (_isWoman && (_type in ["scream","panic"])) then {
|
if (_isWoman && (_type in ["scream","panic","cough"])) then {
|
||||||
_type = _type + "_w";
|
_type = _type + "_w";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -52,4 +52,4 @@ if ((round(random _chance) == _chance) || (_chance == 0)) then {
|
|||||||
} else {
|
} else {
|
||||||
[nil,_unit,rSAY,[_sound, _dis]] call RE;
|
[nil,_unit,rSAY,[_sound, _dis]] call RE;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user