DCS func getCountry
From DCS World Wiki - Hoggitworld.com
Envrioment: | Mission Scripting | ||
Function: | getCountry | Added with: 1.2.0 | |
Member Of: | Object, Coalition Object | ||
Syntax: | enum country.id Object.getCountry(Class Self ) | ||
Description: | Returns an enumerator that defines the country that an object currently belongs to.
Function also works with Unit, Static Object, Airbase, Weapon
| ||
Return Value: | enum country.id | ||
Return Example: | See country enums for full listing of countries. | ||
Examples: | |||
Related Functions: | Object Class Functions: isExist, destroy, getCategory, getTypeName, getDesc, hasAttribute, getName, getPoint, getPosition, getVelocity, inAir | ||
Notes: |