ACE3/addons/rearm/functions/fnc_handleKilled.sqf
IngoKauffmann 9162789579 Manny things
Added dummy objects
Added carrying
Added dropping
Added storing
Added more progress bars
...
2015-08-20 19:51:22 +02:00

24 lines
393 B
Plaintext

/*
* Author: GitHawk, Jonpas
* Handles medical on set dead event.
*
* Arguments:
* 0: Unit <OBJECT>
*
* Return Value:
* None
*
* Example:
* [unit] call ace_rearm_fnc_handleKilled
*
* Public: No
*/
#include "script_component.hpp"
params ["_unit"];
if (!local _unit) exitWith {};
_unit setVariable [QGVAR(selectedWeaponOnRearm), nil];
[_unit, false, false] call FUNC(dropAmmo);