mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +03:00
- Removes old object_setHit - Double checks if global broken bone variables are properly set after changing clothes. - This should finally fix broken bones after changing clothes.
11 lines
429 B
Plaintext
11 lines
429 B
Plaintext
local _unit = _this select 0;
|
|
local _medic = _this select 1;
|
|
local _item = _this select 2;
|
|
local _displayName = getText(configFile >> "CfgMagazines" >> _item >> "displayName");
|
|
|
|
[_unit,"legs",0,false,false] call unit_setFractures;
|
|
[_unit,"hands",0,false,false] call unit_setFractures;
|
|
|
|
if (_medic != player) then {
|
|
format [localize "str_actions_medical_general_received",(name _medic),_displayName] call dayz_rollingMessages;
|
|
}; |