Difference between revisions of "DCS func getGroup"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
Line 41: Line 41:
 
}}
 
}}
 
[[Category:Class Functions|getGroup]]
 
[[Category:Class Functions|getGroup]]
 +
[[Category:Game Patch 1.2.0|getGroup]]

Revision as of 00:04, 21 March 2022

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.