mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
23 lines
375 B
Plaintext
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];
|