Jump to content

Recommended Posts

Posted

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!

Posted

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...