ACE3/addons/weaponselect/functions/fnc_putWeaponAway.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

21 lines
326 B
Plaintext

#include "..\script_component.hpp"
/*
* 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: Yes
*/
params ["_unit"];
_unit action ["SwitchWeapon", _unit, _unit, 299];