mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
20 lines
341 B
Plaintext
20 lines
341 B
Plaintext
|
/*
|
||
|
* Author: commy2
|
||
|
*
|
||
|
* The unit will put its current weapon away.
|
||
|
*
|
||
|
* Argument:
|
||
|
* 0: What unit should put the current weapon on back? (Object)
|
||
|
*
|
||
|
* Return value:
|
||
|
* None.
|
||
|
*/
|
||
|
|
||
|
private "_player";
|
||
|
|
||
|
_player = _this select 0;
|
||
|
|
||
|
[_player] call AGM_Core_fnc_fixLoweredRifleAnimation;
|
||
|
|
||
|
_player action ["SwitchWeapon", _player, _player, 99];
|