ACE3/addons/weaponselect/functions/fnc_putWeaponAway.sqf

23 lines
375 B
Plaintext
Raw Normal View History

/*
* Author: commy2
* The unit will put its current weapon away.
*
* Arguments:
* 0: Unit <OBJECT>
*
* Return Value:
* None
*
* Example:
* [player] call ace_weaponselect_fnc_putWeaponAway
*
2015-09-27 12:55:36 +00:00
* Public: Yes
*/
2015-01-17 17:26:51 +00:00
#include "script_component.hpp"
params ["_unit"];
2016-01-06 21:42:02 +00:00
_unit call EFUNC(common,fixLoweredRifleAnimation);
_unit action ["SwitchWeapon", _unit, _unit, 299];