# Escorts Of Unit Group

Grammar — Escorts of unitGroup|Unit Group
FlagsNative | Function

Returns a group of all of the units assigned to escort a unit group.

# Arguments

  • unitgroup — UnitGroup

Returns — unitgroup

native unitgroup AIGetAllEscortsGroup(unitgroup ug);

Category: AI / MiscCampaign / Functions

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L2687
AIGetAllEscortsGroup(libNtve_gf_ConvertUnitToUnitGroup(EventUnit()))
// L2743
AIGetAllEscortsGroup(libNtve_gf_ConvertUnitToUnitGroup(EventUnit()))
// L2814
AIGetAllEscortsGroup(libNtve_gf_ConvertUnitToUnitGroup(EventUnit()))
// L2687
AIGetAllEscortsGroup(libNtve_gf_ConvertUnitToUnitGroup(EventUnit()))
// L2743
AIGetAllEscortsGroup(libNtve_gf_ConvertUnitToUnitGroup(EventUnit()))
// L2814
AIGetAllEscortsGroup(libNtve_gf_ConvertUnitToUnitGroup(EventUnit()))