mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 17:20:26 +03:00
Uploading new files for load functions
The files are heavily edited.
This commit is contained in:
18
SQF/dayz_code/medical/load/unload_wounded.sqf
Normal file
18
SQF/dayz_code/medical/load/unload_wounded.sqf
Normal file
@@ -0,0 +1,18 @@
|
||||
// unload_wounded.sqf
|
||||
// December 2019 - JasonTM
|
||||
|
||||
private "_wounded";
|
||||
|
||||
_wounded = _this;
|
||||
|
||||
// Check to see that the passed object matches local player object
|
||||
if (player != _wounded) exitWith {};
|
||||
|
||||
// Check if the player is still unconscious
|
||||
if (r_player_unconscious) then {
|
||||
// Reestablish the "lie on back" animation
|
||||
[nil, _wounded, rSWITCHMOVE, "ainjppnemstpsnonwrfldnon"] call RE;
|
||||
_wounded switchmove "ainjppnemstpsnonwrfldnon";
|
||||
};
|
||||
|
||||
r_drag_sqf = false;
|
||||
Reference in New Issue
Block a user