Leopard20 813 Posted July 1, 2018 Hello everyone. Does anyone know if there's a way to select a certain commandingMenu item directly through a script? For example, let's say I want to select item "Stealth" from "RscMenuCombatMode" (you can find it in config viewer, and it's the same menu as key 7 menu). How can I do that? Share this post Link to post Share on other sites
Floof 57 Posted July 1, 2018 Find out what the call itself does. Stealth for example could look something like this: { _x setBehaviour "STEALTH"; } forEach units group player; Then just copy it or find the call itself. Share this post Link to post Share on other sites
Leopard20 813 Posted July 1, 2018 That's not what I meant. I want to select an item from the menu and do exactly what it does. Plus, being a mod maker myself, you can assume I already know basic and trivial stuff like that. Share this post Link to post Share on other sites
Floof 57 Posted July 1, 2018 Didn't take a look at ur profile so yeah, can't assume that most of the time here hehe. U could use showCommandingMenu to select a specific menu call, or just find it in the config like this: player setVariable ['BIS_SUPP_request', ['Artillery', _pos]]; That does exactly what the menu does. But if u want to just select the command use showCommandingMenu. Some stuff here. Share this post Link to post Share on other sites