Weapon Select Functions

ace_weaponselect_fnc_putWeaponAway

Description

The unit will put its current weapon away.

Parameters

Index Description Datatype(s) Default Value
0 Unit OBJECT  

Return Value

None

Example

[player] call ace_weaponselect_fnc_putWeaponAway

Authors

  • commy2

ace_weaponselect_fnc_selectNextGrenade

Description

Select the next grenade.

Parameters

Index Description Datatype(s) Default Value
0 Unit OBJECT  
1 Grenade type [0: all, 1: frags, 2: non-frags] (default: 0) NUMBER  

Return Value

Description Datatype(s)
Selecting successful? BOOL

Example

[player] call ace_weaponselect_fnc_selectNextGrenade

Authors

  • commy2