Jump to content

Grouping units with F10 map marker


Motion_Blurz

Recommended Posts

Does anybody know how I can use F10 map markers to merge individual units into a singular larger group?  I know I have seen this feature before but do not recall where.  This would prove beneficial when building artillery units with CTLD while not wanting to set the same firing order multiple times. Additionally, not having to create numerous move orders for forces.

Thanks in advance. 

Cheers!


Edited by Motion_Blurz
Link to comment
Share on other sites

Yea, so hook into one of the marker events, i'd suggest 'changed' and then have it scan for a keyword of your choosing in the event.msg, then what you can do is a worldSearch on the event.pos for a given range around the marker, 1-200m maybe, then all those units, scan them and save their x, z, type, heading. You'll need to cap the units by group size, is that 10? idk.  Delete the unit you collected the info from before you move on to the next. Then with the information you collected build an acceptable table structure for a DCS group, and then slot back in the details of the units you scanned and stored. Send that table to coalition.addGroup. Wa-la.

Creator & Developer of XSAF ::An AI model that wants to kill you, and needs no help from humans.

Discord: PravusJSB#9484   twitch.tv/pravusjsb  https://www.patreon.com/XSAF  https://discord.gg/pC9EBe8vWU https://bmc.link/johnsbeaslu

Work with me on Fiverr: https://www.fiverr.com/pravusjsb

Link to comment
Share on other sites

  • Recently Browsing   0 members

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