DCS func getGroup

From DCS World Wiki - Hoggitworld.com
Revision as of 00:04, 21 March 2022 by Grimes (talk | contribs)

Scripting Root

Envrioment: Mission Scripting
Function: getGroup Added with: 1.2.0
Member Of: Unit
Syntax: Group Unit.getGroup(Class Self )
Description: Returns the Group object that the Unit belongs to.


Return Value: Group
Return Example:
Examples:
Related Functions: Unit Functions: isActive, getPlayerName, getID, getNumber, getCategoryEx, getObjectID, getController, getGroup, getCallsign, getLife, getLife0, getFuel, getAmmo, getSensors, hasSensors, getRadar, getDrawArgumentValue, getNearestCargos, enableEmission, getDescentCapacity

Object Functions: isExist, destroy, getCategory, getTypeName, getDesc, hasAttribute, getName, getPoint, getPosition, getVelocity, inAir

Coalition Object Functions: getCoalition, getCountry

Notes: Due to a bug client groups are not accessible at present 1.5.3 and 2.0.2.