Jump to content

Recommended Posts

Posted

Hi, I have been having a nightmare and struggling to find the answer.

I want to run the "Target Detected" script on my multiplayer mission, but when I add the possible unit names, unless all slots are filled I get an error.

How can I write a script that only pulls the connected user units? My LUA-Fu is not very strong, and really aving issues with getting this working.

Cheers

Posted

While I'm not sure what the "Target Detected" script requires, you can get the currently connected player units for each side with 

coalition.getPlayers(coalitionID)

See here

  • Recently Browsing   0 members

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