arma3:missions:cfgcommunicationmenu
This is an old revision of the document!
CfgCommunicationMenu
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.1548509923.txt.gz · Last modified: 2019/01/26 13:38 by snakeman