Norbak 10 Posted December 25, 2014 Anyone know how to use the "Communication" menu?. How to add actions there? Share this post Link to post Share on other sites
opusfmspol 175 Posted December 27, 2014 https://community.bistudio.com/wiki/showCommandingMenu https://community.bistudio.com/wiki/commandingMenu Share this post Link to post Share on other sites
Norbak 10 Posted December 27, 2014 Great. Thank you. Share this post Link to post Share on other sites
Norbak 10 Posted December 27, 2014 it it not possible execute a script from that menu?. i was reading and says nothing about exec ".sqf" Share this post Link to post Share on other sites
dimon 23 Posted December 27, 2014 example ["menu-1", false],["Spectator",[4],"",-5,[["expression","[] execVM 'Spectator.sqf'"]],"1","1"], Share this post Link to post Share on other sites
opusfmspol 175 Posted December 27, 2014 Also could compile + preprocess as a function, then call, spawn or execVM the function: fnc_airRadar = compile preprocessFile ("scripts\client\airRadarAction.sqf"); ["Actions",true],["Air Radar On/Off",[2],"",-5,[["expression","['switch'] call fnc_airRadar; showCommandingMenu '';"]],"1","1",-1] Share this post Link to post Share on other sites
Norbak 10 Posted December 27, 2014 (edited) I'll try these aswell. Thank you people. Edited December 27, 2014 by kyopower Share this post Link to post Share on other sites