ACE3/addons/weaponselect/functions/fnc_putWeaponAway.sqf
2015-08-08 14:40:23 +02:00

23 lines
375 B
Plaintext

/*
* Author: commy2
* The unit will put its current weapon away.
*
* Arguments:
* 0: Unit <OBJECT>
*
* Return Value:
* None
*
* Example:
* [player] call ace_weaponselect_fnc_putWeaponAway
*
* Public: NO
*/
#include "script_component.hpp"
params ["_unit"];
[_unit] call EFUNC(common,fixLoweredRifleAnimation);
_unit action ["SwitchWeapon", _unit, _unit, 99];