IsCountryID
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | IsCountryID | |
| Function Description: | CMM varient of trigger.action.outTextForGroup that uses an argTable | |
| File Location: | cmm.DCSFunctions.lua | |
| Syntax: | CMM.IsCountryID( number CountryID ) | |
| Return Value: | boolean | |
| Parameters: | Name | Description |
| CountryID | A number corresponding to a DCS Country ID (found in country.id table) | |
| Example: | CMM.IsCountryID(82) | |
| Example Description: | This would return true as 82 is the Country ID for the United Nations in DCS, if you supplied a number that does not match a valid Country ID in DCS it would return false and write a warning to the log | |
| Related Functions: | ||
| Notes: | ||