GroupByCoalition
Appearance
| Environment: | Mission Scripting | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Function: | GroupByCoalition | ||||||||||
| Function Description: | Processes a group of DCS Objects and returns them in 3 embedded tables 0 for Neutral, 1 for Red and 2 for Blue | ||||||||||
| File Location: | cmm.DCSFunctions.lua | ||||||||||
| Syntax: | CMM.GroupByCoalition( table tbl ) | ||||||||||
| Return Value: | table or nil | ||||||||||
| Parameters: | Name | Description | |||||||||
| tbl | Table of DCS Objects (must be Unit, Static Object, Airbase, Weapon) | ||||||||||
| Example: | CMM.GroupByCoalition(tbl )
| ||||||||||