Difference between revisions of "DCS func getGroup"
From DCS World Wiki - Hoggitworld.com
(One intermediate revision by the same user not shown) | |||
Line 39: | Line 39: | ||
|notes= Due to a bug client groups are not accessible at present 1.5.3 and 2.0.2. | |notes= Due to a bug client groups are not accessible at present 1.5.3 and 2.0.2. | ||
+ | '''Warning:''' In version 2.8.2, unit:getGroup() will return nil if the unit is a ground unit that is dead (this includes units referenced in UNIT_LOST and DEAD events). It might return nil for air units as well, depending on timing of the events. | ||
}} | }} | ||
[[Category:Class Functions|getGroup]] | [[Category:Class Functions|getGroup]] | ||
[[Category:Game Patch 1.2.0|getGroup]] | [[Category:Game Patch 1.2.0|getGroup]] |