Jump to content
Sign in to follow this  
Norbak

Communation menu

Recommended Posts

Anyone know how to use the "Communication" menu?. How to add actions there?

Share this post


Link to post
Share on other sites

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

example

["menu-1", false],["Spectator",[4],"",-5,[["expression","[] execVM 'Spectator.sqf'"]],"1","1"],

Share this post


Link to post
Share on other sites

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

I'll try these aswell. Thank you people.

Edited by kyopower

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×