mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-18 18:26:39 +03:00
Organize files a bit and removed non source pbo's
This commit is contained in:
33
SQF/dayz_code/medical/drop_body.sqf
Normal file
33
SQF/dayz_code/medical/drop_body.sqf
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
DROP BODY SCRIPT
|
||||
|
||||
Allows players to drop unconscious bodies
|
||||
|
||||
JULY 2010 - norrin
|
||||
*****************************************************************************************************************************
|
||||
Start drop_body.sqf
|
||||
*/
|
||||
|
||||
_dragee = _this select 3;
|
||||
|
||||
player removeAction NORRN_dropAction;
|
||||
player removeAction NORRN_carryAction;
|
||||
NORRN_remove_drag = true;
|
||||
r_drag_sqf = false;
|
||||
r_carry_sqf = false;
|
||||
r_action = false;
|
||||
_unit = player;
|
||||
|
||||
detach _unit;
|
||||
detach _dragee;
|
||||
_unit switchMove "";
|
||||
_dragee switchMove "";
|
||||
NORRN_Dragged_body = objNull;
|
||||
_dragee setVariable ["NORRN_unit_dragged", false, true];
|
||||
|
||||
//lie on back
|
||||
_dragee playMoveNow "ainjppnemstpsnonwrfldnon";
|
||||
norrnRalie = _dragee;
|
||||
publicVariable "norrnRalie";
|
||||
|
||||
if (true) exitWith {};
|
||||
Reference in New Issue
Block a user