Ilias38rus 5 Posted September 14, 2015 Do anyone know how to define that: Share this post Link to post Share on other sites
HallyG 239 Posted September 14, 2015 showCommandingMenu might help get you started. Have a look at the example at the bottom of the page. commandingMenu shows the commanding menu name. The custom menu has the value "#CUSTOM_RADIO". Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 14, 2015 showCommandingMenu might help get you started. Have a look at the example at the bottom of the page. commandingMenu shows the commanding menu name. The custom menu has the value "#CUSTOM_RADIO". Thank you. Share this post Link to post Share on other sites
Larrow 2822 Posted September 14, 2015 #CUSTOM_RADIO is an internal menu reserved for custom radio sounds Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 14, 2015 Yeap, i got it, another Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 15, 2015 How to make the command executing some skript and move there some variable like: ["Request fiteteam", [2], "", -5, [["", "i=1;execVM 'ar\sar.sqf';"]], "1", "1"], Share this post Link to post Share on other sites
f2k sel 164 Posted September 15, 2015 Maybe this :- ["Request fireteam", [2], "", -5, [["expression", "i=1;execVM 'ar\sar.sqf'"]], "1", "1"], Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 15, 2015 Maybe this :- ["Request fireteam", [2], "", -5, [["expression", "i=1;execVM 'ar\sar.sqf'"]], "1", "1"], Yeah, thank you , What is the expression mean? Share this post Link to post Share on other sites
f2k sel 164 Posted September 15, 2015 Yeah, thank you , What is the expression mean? I have to say I don't know, it just makes it work in my codes. Share this post Link to post Share on other sites
Ilias38rus 5 Posted September 15, 2015 I have to say I don't know, it just makes it work in my codes. ) Share this post Link to post Share on other sites
t.a.6 7 Posted February 29, 2016 Can't add anything to communication menu. class CfgCommunicationMenu { class ccomma { text = "Mark by smoke"; submenu = ""; expression = "[]execvm'sma.sqf';"; icon = "\a3\Ui_f\data\GUI\Cfg\CommunicationMenu\call_ca.paa"; cursor = "\a3\Ui_f\data\IGUI\Cfg\Cursors\iconCursorSupport_ca.paa"; enable = "1"; removeAfterExpressionCall = 0; }; class ccomm { text = "Drop oc0"; submenu = ""; expression = "[]execVM'sm.sqf';"; icon = "\a3\Ui_f\data\GUI\Cfg\CommunicationMenu\supplydrop_ca.paa"; cursor = "\a3\Ui_f\data\IGUI\Cfg\Cursors\iconCursorSupport_ca.paa"; enable = "1"; removeAfterExpressionCall = 1; }; }; Is something wrong? Share this post Link to post Share on other sites
Heeeere's johnny! 51 Posted February 29, 2016 Yeah, thank you , What is the expression mean? As I understand it from looking at this, the "expression" in that array is the very "expression" as defined in the CfgCommunicationMenu. So I wonder if it's even possible to put the other labels like "text" or "enable" in there as well. Share this post Link to post Share on other sites
gc8 977 Posted February 29, 2016 As I understand it from looking at this, the "expression" in that array is the very "expression" as defined in the CfgCommunicationMenu. So I wonder if it's even possible to put the other labels like "text" or "enable" in there as well. no the "expression" doesnt need to be defined in CfgCommunicationMenu. the expression can be any code you like. infact you dont need CfgCommunicationMenu at all. You need it only when defining custom support menu (keys 0-8). slightly modified example (from the wiki): class CfgCommunicationMenu { class myArtillery { text = "Artillery Strike"; // Text displayed in the menu and in a notification submenu = "#USER:MENU_COMMS_1"; // Submenu opened upon activation (expression is ignored when submenu is not empty.) expression = "player setVariable ['BIS_SUPP_request', ['Artillery', _pos]];"; // Code executed upon activation icon = "\a3\Ui_f\data\GUI\Cfg\CommunicationMenu\artillery_ca.paa"; // Icon displayed permanently next to the command menu cursor = "\a3\Ui_f\data\IGUI\Cfg\Cursors\iconCursorSupport_ca.paa"; // Custom cursor displayed when the item is selected enable = "1"; // Simple expression condition for enabling the item removeAfterExpressionCall = 1; // 1 to remove the item after calling }; }; Share this post Link to post Share on other sites