Author: Lachesis580
Author Website:

Requirements: Community Base addons A3

Version: 1.0b
Signed: Yes, server key included

Short description: Add's a custom function to get the current grenade.

Date: 2014-11-03 19:17

Comments: (1)


Custom function "CurrentGrenade"


Since there is no "CurrentGrenade"-command,( I decided to make a little workaround function.

At the moment, it returns an array:
Index 0 = Name of the grenade.
Index 1 = Ammo count from the grenade.

Extract into the ArmA 3 Directory, by default this is located in:
32-Bit - C:\Program Files\Steam/Steamapps\Common\ArmA 3\
64-Bit - C:\Program Files (x86)\Steam/Steamapps\Common\ArmA 3\
After extraction it should look like this:
Steam\Steamapps\Common\ArmA 3\@your_mod_folder_name\addons\

You can also use the "Arma 3 Alpha" folder in your "My Documents" folder. Your folder setup could than look like for example this:
mydocuments\Arma3 Alpha\@your_mod_folder_name1\addons\
mydocuments\Arma3 Alpha\@your_mod_folder_name2\addons\
mydocuments\Arma3 Alpha\@your_mod_folder_name2\addons\

When present place the "userconfig" folder into your game install folder, usually:
"C:\Program Files (x86)\Steam\steamapps\common\Arma 3".
You may already have "userconfig" folder from other addons and/or mods in which case it is safe to merge the contents from this archive.

You'll also need to add a Launch Parameter to Steam, in order to do so right-click on ArmA 3 Alpha and click Properties and then Set Launch Options. In the window that opens enter in -mod=@your_mod_folder_name
For using multiple mods you would then do so like this:

You can also use -nosplash to get rid of the splash art and intro videos.

And of course you can also enable and disable community made addons and mods through the in-game Options Expansions menu if you do not want to mess with startup parameters!

When the above information still does not provide you with enough to learn how to install custom addons and mods you can always ask in our Guide On Installing Mods.

Included files:

_curgrenade = [] call SCW_fnc_currentGrenade;
hint format ["%1 & %2", _curgrenade select 0,_curgrenade select 1];

- Only added the missing script. Sry for that. (there is no version number change)

- First public release.

Forum topic:
- BI Forums

- Community Base addons A3

Enable javascript to be able to download from Armaholic please!

Tags: Current,   Custom,   Function,   Grenade