Jump to content

Recommended Posts

Posted

I am looking for a script or any other solution that allows me to remove CTLD deployed troops via a conditional trigger. by group would be preferred but all would be acceptable as well. thanks for any help on this

Posted

I think you would need todo this in the LUA scripting
i wont provide anything regarding scripting or code

but you prob need to work with tracking spawned units (likely with a 'CTLD' Prefix)
and the with your tracking system be able to delete that with a 'trigger' ex a menu item
marker, timer, etz

hope this gets you on the right track

DCS Mission Scripting Wizard | TGFB Owner | Dev of HIP Dynamic Server | Maker of TGFB Dynamic | tgfb-dcs.comContact me | TGFB Discord

DCS_Forums_cover.png

Posted

You can’t use a Mission Editor trigger to remove a group because the groups spawned dynamically don’t exist in the Mission Editor.

You need scripting for this. MOOSE is likely the best option: you can use a SET_GROUP combined with FilterPrefixes. For example, every group spawned via CTLD can have the same prefix in their name. Then you can use ForEachGroup to destroy all of them, or just a specific one or more within a trigger zone.

  • Recently Browsing   0 members

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