User Tools

Site Tools


arma3:missions:cfgcommunicationmenu

ArmA 3 CfgCommunicationMenu

ArmA 3 Forum, ArmA 3, ArmA 3 Config, ArmA 3 Missions, ArmA 3 3D Modeling, ArmA 3 Scripting, ArmA 3 Terrain, ArmA 3 Texturing, ArmA 3 Tools

description.ext:

class CfgCommunicationMenu
{
	class PMC_Airstrike_A10
	{
		text = "Airstrike A10";
		submenu = "";
		expression = "_this execVM 'PMC\PMC_Airstrike.sqf';";
		icon = "";
		cursor = "";
		enable = "1";
		removeAfterExpressionCall = 0;
	};
};

init.sqf:

// add communications menu for player
0 = [player, "PMC_Airstrike_A10", nil, nil, ""] call BIS_fnc_addCommMenuItem;

PMC_Airstrike.sqf:

// _p will be our cursor position on ground or mapview
_p = _this select 1;
arma3/missions/cfgcommunicationmenu.txt · Last modified: 2024/08/02 15:27 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.