Galinette Posted January 10, 2021 Posted January 10, 2021 Hi, I'm adding a F10 menu item through missionCommands.addCommandForCoalition Is there any way to retrieve the group or client which triggered the menu item in the called function? Thanks!
scrapple Posted January 11, 2021 Posted January 11, 2021 I think you would have to use the 'addCommandForGroup' function to be able to know which group triggered the menu item. There isn't any equivalent 'addCommandForClient' function, so the only I know to identify the particular client is to put each client aircraft in it's own group, and use addCommandForGroup. That way if you identify the group, you've effectively narrowed it down to one client.
Recommended Posts