mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
24 lines
396 B
Plaintext
24 lines
396 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* 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
|
|
*/
|
|
|
|
params ["_unit"];
|
|
|
|
if (!local _unit) exitWith {};
|
|
|
|
_unit setVariable [QGVAR(selectedWeaponOnRearm), nil];
|
|
[_unit, false, false] call FUNC(dropAmmo);
|