ACE3/addons/weaponselect/functions/fnc_getSelectedGrenade.sqf
2015-08-04 23:35:47 +02:00

15 lines
300 B
Plaintext

/*
* Author: commy2
*
* Returns the selected Grenade Muzzle.
*
* Argument:
* None
*
* Return value:
* Class name of selected throw muzzle. <STRING>
*/
#include "script_component.hpp"
[GVAR(CurrentGrenadeMuzzleOther), GVAR(CurrentGrenadeMuzzleFrag)] select GVAR(CurrentGrenadeMuzzleIsFrag)