Page tree
Skip to end of metadata
Go to start of metadata




Introduced in

Version:3.8

Description

Description:Returns whether the group is empty, including any of its subordinate groups. A group is considered to be empty if it has no units. If the group is an ORBAT higher echelon, then all of the subordinate groups are checked as well.

Syntax

Syntax:grp call fn_vbs_isGroupEmpty
Parameters:
  • grp: Group - Group to check.
Return Value:Boolean - Returns true if the group is empty, false otherwise.

Warning

When using functions in VBS versions older than 3.4, certain limitations and requirements should be kept in mind - the main ones being that capitalization of the function name is crucial, and that #include "\vbs2\headers\function_library.hpp" has to be included in every script that utilizes it. More Category VBS Scripting Functions.

Examples

Examples:
_isEmpty = _grp1 call fn_vbs_isGroupEmpty;

Additional Information

See also: 
Multiplayer: 
Problems: 

Notes