EGroupID is the ID of a group of entities on the battlefield.
Usually, you use egroup name, a string value associated with an Entity Group, [ eg_playerbase ]. This must be defined via the Mission Editor or a SCAR function like EGroup_CreateIfNotFound( )?. An Entity Group is any grouping of tech tree buildings or world objects. Squads assigned to egroups will automatically be filtered out.
Then we can get the EGroupID from the predefined name
You can usually perform group actions using EGroupID's, such as undeploying an entire base, or changing the stats of an entity group.
To perform actions specifically on one entity, either put that one entity in a seperate, and otherwise empty, entity group, or use its EntityID to perform actions on it, out of a larger Entity Group.
Squad Index Category
Data Types
Functions
SCAR Home
Wiki Home