mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
19 lines
293 B
Plaintext
19 lines
293 B
Plaintext
/*
|
|
* Author: commy2
|
|
*
|
|
* The unit will put its current weapon away.
|
|
*
|
|
* Argument:
|
|
* 0: Unit <OBJECT>
|
|
*
|
|
* Return value:
|
|
* None
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
params ["_unit"];
|
|
|
|
[_unit] call EFUNC(common,fixLoweredRifleAnimation);
|
|
|
|
_unit action ["SwitchWeapon", _unit, _unit, 99];
|