# Unit Object Group Call For Help
Grammar — Make all units in unit’s object group response to attacker
Flags —Native
|Action
# Arguments
unit
— Unitunit
— Attacker
Returns — void
native void UnitObjectGroupCallForHelp(
unit inUnit,
unit attacker,
);
# Related
Category: Unit Group / Groups
- [F] —
void
— Add Unit To Unit Group — ( UnitGroupAdd ) - [F] —
void
— Add Unit Group To Unit Group Old — ( libNtve_gf_AddUnitGroupToUnitGroup ) - [F] —
void
— Add Unit Group To Unit Group — ( UnitGroupAddUnitGroup ) - [F] —
void
— Unit Object Group Call For Help — ( UnitObjectGroupCallForHelp ) - [F] —
void
— Remove Unit From Unit Group — ( UnitGroupRemove ) - [F] —
void
— Remove Unit Group From Unit Group Old — ( libNtve_gf_RemoveUnitGroupFromUnitGroup ) - [F] —
void
— Remove Unit Group From Unit Group — ( UnitGroupRemoveUnitGroup ) - [F] —
void
— Remove All Units From Unit Group — ( UnitGroupClear ) - [F] —
void
— Pause All Units In Unit Group — ( UnitGroupPauseAll ) - [F] —
int
— Create Unit Object Group From Unit Group — ( UnitObjectGroupFromUnitGroup ) - [F] —
int
— Number Of Units In Unit Group — ( UnitGroupCount ) - [F] —
bool
— Unit In Unit Group — ( UnitGroupHasUnit ) - [F] —
unit
— Unit From Unit Group — ( UnitGroupUnit ) - [F] —
unit
— Random Unit From Unit Group — ( UnitGroupRandomUnit ) - [F] —
unitgroup
— Copy Of Unit Group — ( UnitGroupCopy ) - [F] —
unit
— Closest Unit To Point Old — ( libNtve_gf_ClosestUnitToPoint ) - [F] —
unit
— Closest Unit To Point — ( UnitGroupClosestToPoint ) - [F] —
point
— Center Of Unit Group Old — ( libNtve_gf_CenterOfUnitGroup ) - [F] —
point
— Center Of Unit Group — ( UnitGroupCenterOfGroup )
# Examples
# mods/warcoop/warclassicsystem.sc2mod
// L845
UnitObjectGroupCallForHelp(lv_creepUnit, lv_attacker)
// L872
UnitObjectGroupCallForHelp(EventUnit(), libNtve_gf_AcquiredTarget())